| @@ 270-273 (lines=4) @@ | ||
| 267 |         if ($this->pObj->sObj) { | 
                                |
| 268 | list($theSetup, $theSetupValue) = $this->templateService->ext_getSetup($theSetup, $this->pObj->sObj ? $this->pObj->sObj : '');  | 
                                |
| 269 | $assigns['theSetupValue'] = $theSetupValue;  | 
                                |
| 270 |             if ($existTemplate === false) { | 
                                |
| 271 |                 $noTemplateMessage = GeneralUtility::makeInstance(FlashMessage::class, $lang->getLL('noCurrentTemplate'), $lang->getLL('edit'), FlashMessage::ERROR); | 
                                |
| 272 | $this->addFlashMessage($noTemplateMessage);  | 
                                |
| 273 | }  | 
                                |
| 274 | // Links:  | 
                                |
| 275 | $urlParameters = [  | 
                                |
| 276 | 'id' => $this->pObj->id  | 
                                |
| @@ 571-579 (lines=9) @@ | ||
| 568 |                         $lang->getLL('exportdata_savedFile'), | 
                                |
| 569 | FlashMessage::OK  | 
                                |
| 570 | );  | 
                                |
| 571 |                 } else { | 
                                |
| 572 | /** @var FlashMessage $flashMessage */  | 
                                |
| 573 | $flashMessage = GeneralUtility::makeInstance(  | 
                                |
| 574 | FlashMessage::class,  | 
                                |
| 575 |                         sprintf($lang->getLL('exportdata_badPathS'), $saveFolder->getPublicUrl()), | 
                                |
| 576 |                         $lang->getLL('exportdata_problemsSavingFile'), | 
                                |
| 577 | FlashMessage::ERROR  | 
                                |
| 578 | );  | 
                                |
| 579 | }  | 
                                |
| 580 | /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */  | 
                                |
| 581 | $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);  | 
                                |
| 582 | /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */  | 
                                |