Actions
Bug #48894
closedAdding file to bodytext crashes
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-06-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Having a simple text CE, marking a word and make the word a link to a file the editor has not uploaded crashes....
See attachements...
Files
Updated by Jigal van Hemert over 11 years ago
- Status changed from New to Accepted
Confirmed in current 6.2-dev. Debugging output after hitting the Upload files button shows:
Uncaught TYPO3 Exception #1320575630: Folder None - new link! does not exist. (More information) TYPO3\CMS\Core\Resource\Exception\FolderDoesNotExistException thrown in file D:\TYPO3\TYPO3 Core Git\typo3\sysext\core\Classes\Resource\ResourceStorage.php in line 1641. 6 TYPO3\CMS\Core\Resource\ResourceStorage::getFolder("None - new link!") D:\TYPO3\TYPO3 Core Git\typo3\sysext\core\Classes\Resource\ResourceFactory.php: 00362: } 00363: } 00364: return $this->getStorageObject($storageUid)->getFolder($folderIdentifier); 00365: } 00366: 5 TYPO3\CMS\Core\Resource\ResourceFactory::getFolderObjectFromCombinedIdentifier("None - new link!") D:\TYPO3\TYPO3 Core Git\typo3\sysext\core\Classes\Resource\ResourceFactory.php: 00336: } else { 00337: // only the local path 00338: return $this->getFolderObjectFromCombinedIdentifier($input); 00339: } 00340: } 4 TYPO3\CMS\Core\Resource\ResourceFactory::retrieveFileOrFolderObject("None - new link!") D:\TYPO3\TYPO3 Core Git\typo3\sysext\recordlist\Classes\Browser\ElementBrowser.php: 01943: if ($str && $this->act == 'file' || $this->act == 'folder') { 01944: try { 01945: $fileObject = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->retrieveFileOrFolderObject($str); 01946: if (is_object($fileObject)) { 01947: $str = $fileObject->getIdentifier(); 3 TYPO3\CMS\Recordlist\Browser\ElementBrowser::printCurrentUrl("None - new link!") D:\TYPO3\TYPO3 Core Git\typo3\sysext\rtehtmlarea\Classes\BrowseLinks.php: 00500: $content .= $this->doc->getTabMenuRaw($menuDef); 00501: // Adding the menu and header to the top of page: 00502: $content .= $this->printCurrentUrl($this->curUrlInfo['info']) . ' '; 00503: // Depending on the current action we will create the actual module content for selecting a link: 00504: switch ($this->act) { 2 TYPO3\CMS\Rtehtmlarea\BrowseLinks::main_rte() D:\TYPO3\TYPO3 Core Git\typo3\sysext\rtehtmlarea\Classes\Controller\BrowseLinksController.php: 00096: list($modData, $store) = $GLOBALS['SOBE']->browser->processSessionData($modData); 00097: $GLOBALS['BE_USER']->pushModuleData('browse_links.php', $modData); 00098: $this->content = $GLOBALS['SOBE']->browser->main_rte(); 00099: } 00100: } 1 TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::main() D:\webserver\xampp\htdocs\typo3_src\typo3\sysext\rtehtmlarea\mod3\browse_links.php: 00050: // Make instance: 00051: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Rtehtmlarea\\Controller\\BrowseLinksController'); 00052: $SOBE->main(); 00053: $SOBE->printContent(); 00054: ?>
Updated by Wouter Wolters over 11 years ago
- Status changed from Accepted to Resolved
This is resolved with #48219 and will be included in the next 6.1 version
Actions