Project

General

Profile

Actions

Bug #90757

closed

ContentObjectRenderer is not able to handle files with Umlauts

Added by Kurt Gusbeth about 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-03-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
IMG_RESOURCE
Complexity:
Is Regression:
Sprint Focus:

Description

This TypoScript for tt_products does not work for files with Umlauts like äöü:

  image {
    file.maxW = 350
    file.maxH = 200
    imageLinkWrap = 1
    imageLinkWrap {
      typolink {
        parameter.cObject = IMG_RESOURCE
        parameter.cObject.file.import.data = TSFE:lastImageInfo|origFile
        parameter.cObject.file.maxW = 600
        parameter.cObject.file.maxH = 500

        ATagParams = rel="lightbox[{field:uid}]" 
        ATagParams.insertData = 1
      }
    }
    params = class="img-responsive" 
    altText = Produkt
  }

Example error message for the image uploads/pics/Kirschblüte.jpg:

[WARNING] request="d6c8c590c5df4" component="TYPO3.CMS.Frontend.ContentObject.ContentObjectRenderer": The image "uploads/pics/Kirschbl%C3%BCte.jpg" could not be found and won't be included in frontend output - {"exception":"TYPO3\\CMS\\Core\\Resource\\Exception\\FolderDoesNotExistException: Folder \"/uploads/pics/Kirschbl%C3%BCte.jpg/\" does not exist. in /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php:283\nStack trace:\n#0 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Resource/ResourceStorage.php(2478): TYPO3\\CMS\\Core\\Resource\\Driver\\LocalDriver->getFolderInfoByIdentifier('/uploads/pics/2...')\n#1 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Resource/ResourceFactory.php(532): TYPO3\\CMS\\Core\\Resource\\ResourceStorage->getFolder('uploads/pics/Ki...')\n#2 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Resource/ResourceFactory.php(503): TYPO3\\CMS\\Core\\Resource\\ResourceFactory->getFolderObjectFromCombinedIdentifier('uploads/pics/Ki...')\n#3 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(4693): TYPO3\\CMS\\Core\\Resource\\ResourceFactory->retrieveFileOrFolderObject('uploads/pics/Ki...')\n#4 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ImageResourceContentObject.php(31): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->getImgResource('uploads/pics/Ki...', Array)\n#5 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(816): TYPO3\\CMS\\Frontend\\ContentObject\\ImageResourceContentObject->render(Array)\n#6 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(732): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->render(Object(TYPO3\\CMS\\Frontend\\ContentObject\\ImageResourceContentObject), Array)\n#7 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(1832): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->cObjGetSingle('IMG_RESOURCE', Array, '/stdWrap/.cObje...')\n#8 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(1638): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->stdWrap_cObject('', Array)\n#9 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(5396): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->stdWrap('', Array)\n#10 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(1286): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->typoLink('<img src=\"typo3...', Array)\n#11 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(1089): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->imageLinkWrap('<img src=\"typo3...', Object(TYPO3\\CMS\\Core\\Resource\\File), Array)\n#12 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ImageContentObject.php(34): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->cImage('uploads/pics/Ki...', Array)\n#13 /html/typo3/typo3conf/ext/tt_products/view/field/class.tx_ttproducts_field_media_view.php(50): TYPO3\\CMS\\Frontend\\ContentObject\\ImageContentObject->render(Array)\n#14 /html/typo3/typo3conf/ext/tt_products/view/field/class.tx_ttproducts_field_media_view.php(241): tx_ttproducts_field_media_view->getImageCode(Array, 'BASKET')\n#15 /html/typo3/typo3conf/ext/tt_products/view/field/class.tx_ttproducts_field_media_view.php(450): tx_ttproducts_field_media_view->getCodeMarkerArray('tt_products', 'PRODUCT_IMAGE', 'BASKET', Array, Array, 'uploads/pics/', 1, 'basketImage', NULL, Array, Array)\n#16 /html/typo3/typo3conf/ext/tt_products/view/field/class.tx_ttproducts_field_media_view.php(620): tx_ttproducts_field_media_view->getMediaMarkerArray('tt_products', 'image', Array, 1, 'PRODUCT_IMAGE', Array, Array, 'BASKET', 'tt-products-3-b...', true, true, 'UTF-8', '', '', 'basketImage')\n#17 /html/typo3/typo3conf/ext/tt_products/view/field/class.tx_ttproducts_field_image_view.php(317): tx_ttproducts_field_media_view->getRowMarkerArray('tt_products', 'image', Array, 'PRODUCT_IMAGE', Array, Array, 'BASKET', 'tt-products-3-b...', Array, true, true, 'UTF-8', '', '', 'basketImage')\n#18 /html/typo3/typo3conf/ext/tt_products/view/class.tx_ttproducts_table_base_view.php(486): tx_ttproducts_field_image_view->getRowMarkerArray('tt_products', 'image', Array, 'PRODUCT_IMAGE', Array, Array, 'BASKET', 'tt-products-3-b...', Array, true, true, 'UTF-8', '', '', 'basketImage')\n#19 /html/typo3/typo3conf/ext/tt_products/view/class.tx_ttproducts_article_base_view.php(192): tx_ttproducts_table_base_view->getRowMarkerArray(Array, 'PRODUCT_IMAGE', Array, Array, Array, Array, 'BASKET', Array, true, 'UTF-8', 3, 'basketImage', 3, '', '', '')\n#20 /html/typo3/typo3conf/ext/tt_products/view/class.tx_ttproducts_product_view.php(185): tx_ttproducts_article_base_view->getModelMarkerArray(Array, '', Array, 'Gru\\xC3\\x9Fkarten', 3, 'basketImage', Array, Array, 'BASKET', Array, 3, '', '', '', true, 'UTF-8')\n#21 /html/typo3/typo3conf/ext/tt_products/view/class.tx_ttproducts_basket_view.php(484): tx_ttproducts_product_view->getModelMarkerArray(Array, '', Array, 'Gru\\xC3\\x9Fkarten', 3, 'basketImage', Array, Array, 'BASKET', Array, 3, '', '', '', true, 'UTF-8')\n#22 /html/typo3/typo3conf/ext/tt_products/control/class.tx_ttproducts_control.php(608): tx_ttproducts_basket_view->getView('<!DOCTYPE html\\r...', 'BASKET', Object(tx_ttproducts_info_view), NULL, false, Array, true, 'BASKET_TEMPLATE', Array, '', Array, NULL, Array)\n#23 /html/typo3/typo3conf/ext/tt_products/control/class.tx_ttproducts_control.php(1030): tx_ttproducts_control->getContent('<!DOCTYPE html\\r...', 'EXT:fp_muko/Res...', Array, Array, Array, 'BASKET', 'BASKET_TEMPLATE', NULL, NULL, NULL, Array, 'basket', Array, Array, true, false, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, Array, Array, '', false)\n#24 /html/typo3/typo3conf/ext/tt_products/control/class.tx_ttproducts_control.php(1312): tx_ttproducts_control->processActivities(Array, Array, Array, Array, Array, Array, '')\n#25 /html/typo3/typo3conf/ext/tt_products/control/class.tx_ttproducts_main.php(472): tx_ttproducts_control->doProcessing(Array, Array, Array, Array, '')\n#26 /html/typo3/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1_base.php(87): tx_ttproducts_main->run('tx_ttproducts_p...', Array, '')\n#27 /html/typo3/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1.php(66): tx_ttproducts_pi1_base->main('', Array)\n#28 [internal function]: tx_ttproducts_pi1->main('', Array)\n#29 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(5984): call_user_func_array(Array, Array)\n#30 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->callUserFunction('tx_ttproducts_p...', Array, '')\n#31 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(816): TYPO3\\CMS\\Frontend\\ContentObject\\UserContentObject->render(Array)\n#32 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(732): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->render(Object(TYPO3\\CMS\\Frontend\\ContentObject\\UserContentObject), Array)\n#33 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3844): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->cObjGetSingle('USER', Array)\n#34 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3805): TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController->INTincScript_process(Array)\n#35 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3772): TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent()\n#36 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Http/RequestHandler.php(187): TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController->INTincScript()\n#37 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/OutputCompression.php(46): TYPO3\\CMS\\Frontend\\Http\\RequestHandler->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#38 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\OutputCompression->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(TYPO3\\CMS\\Frontend\\Http\\RequestHandler))\n#39 /html/typo3/typo3_src-9.5.14/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php(44): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#40 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Adminpanel\\Middleware\\AdminPanelDataPersister->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#41 /html/typo3/typo3_src-9.5.14/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php(46): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#42 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Adminpanel\\Middleware\\AdminPanelRenderer->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#43 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php(45): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#44 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\ContentLengthResponseHeader->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#45 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php(65): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#46 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\ShortcutAndMountPointRedirect->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#47 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php(118): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#48 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\PrepareTypoScriptFrontendRendering->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#49 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php(99): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#50 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\PageArgumentValidator->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#51 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php(53): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#52 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\MaintenanceMode->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#53 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/PageResolver.php(171): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#54 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\PageResolver->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#55 /html/typo3/typo3_src-9.5.14/typo3/sysext/workspaces/Classes/Middleware/WorkspacePreview.php(110): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#56 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Workspaces\\Middleware\\WorkspacePreview->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#57 /html/typo3/typo3_src-9.5.14/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php(70): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#58 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Redirects\\Http\\Middleware\\RedirectHandler->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#59 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php(66): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#60 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\StaticRouteResolver->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#61 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php(86): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#62 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\SiteBaseRedirectResolver->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#63 /html/typo3/typo3_src-9.5.14/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php(58): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#64 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Adminpanel\\Middleware\\AdminPanelInitiator->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#65 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php(68): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#66 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\SiteResolver->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#67 /html/typo3/typo3_src-9.5.14/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php(49): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#68 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Adminpanel\\Middleware\\SqlLogging->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#69 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php(95): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#70 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\BackendUserAuthenticator->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#71 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php(79): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#72 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\FrontendUserAuthenticator->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#73 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php(90): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#74 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\TypoScriptFrontendInitialization->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#75 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/EidHandler.php(50): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#76 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\EidHandler->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#77 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php(57): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#78 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\PreprocessRequestHook->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#79 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php(58): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#80 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Core\\Middleware\\NormalizedParamsAttribute->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#81 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php(49): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#82 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\\CMS\\Frontend\\Middleware\\TimeTrackerInitialization->process(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest), Object(class@anonymous))\n#83 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(67): class@anonymous->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#84 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/AbstractApplication.php(108): TYPO3\\CMS\\Core\\Http\\MiddlewareDispatcher->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#85 /html/typo3/typo3_src-9.5.14/typo3/sysext/frontend/Classes/Http/Application.php(69): TYPO3\\CMS\\Core\\Http\\AbstractApplication->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#86 /html/typo3/typo3_src-9.5.14/typo3/sysext/core/Classes/Http/AbstractApplication.php(120): TYPO3\\CMS\\Frontend\\Http\\Application->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest))\n#87 /html/typo3/typo3_src-9.5.14/index.php(24): TYPO3\\CMS\\Core\\Http\\AbstractApplication->run()\n#88 /html/typo3/typo3_src-9.5.14/index.php(25): {closure}()\n#89 {main}"}


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93716: Problems with UTF-8 filenames, in cImage the imageLinkWrap gets the public path as identifierClosed2021-03-12

Actions
Actions #1

Updated by Christian Eßl about 4 years ago

Can you check if the following settings in the LocalConfiguration:
[SYS][UTF8filesystem]
[SYS][systemLocale]

If a UTF8filesystem is "true", then maybe your locale setting in PHP is wrong/not UTF8 compatible. It should be something like "de_DE.UTF-8" and can be overridden with [SYS][systemLocale] in the Admin Tool.

Actions #2

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Kurt Gusbeth about 4 years ago

Well:
[SYS][UTF8filesystem] = true
[SYS][systemLocale] = de_DE.UTF-8

There is no problem with the image-tag.
Here the result for a normal image with the code from above:

<a href="/typo3temp/assets/_processed_/9/f/csm_xxx_6fc82c7dac.jpg" rel="lightbox[735]"><img src="/typo3temp/assets/_processed_/9/f/csm_xxx_f7e88e203a.jpg" width="139" height="200"  class="img-responsive"  alt="Produkt"  border="0"></a>

And this is the result for a image with Umlauts:

<a href="/index.php?eID=tx_cms_showpic&amp;file=5229&amp;md5=556da290a3c4caee9d061a33030f32113b14416e&amp;parameters%5B0%5D=YTozOntzOjU6IndpZHRoIjtzOjM6IjQwMCI7czo3OiJib2R5VGFnIjtzOjg0OiI8&amp;parameters%5B1%5D=Ym9keSBiZ0NvbG9yPSJibGFjayIgbGVmdG1hcmdpbj0iMCIgdG9wbWFyZ2luPSIw&amp;parameters%5B2%5D=IiBtYXJnaW53aWR0aD0iMCIgbWFyZ2luaGVpZ2h0PSIwIj4iO3M6NDoid3JhcCI7&amp;parameters%5B3%5D=czozNzoiPGEgaHJlZj0iamF2YXNjcmlwdDpjbG9zZSgpOyI%2BIHwgPC9hPiI7fQ%3D%3D" onclick="openPic('\/index.php?eID=tx_cms_showpic\u0026file=5229\u0026md5=556da290a3c4caee9d061a33030f32113b14416e\u0026parameters%5B0%5D=YTozOntzOjU6IndpZHRoIjtzOjM6IjQwMCI7czo3OiJib2R5VGFnIjtzOjg0OiI8\u0026parameters%5B1%5D=Ym9keSBiZ0NvbG9yPSJibGFjayIgbGVmdG1hcmdpbj0iMCIgdG9wbWFyZ2luPSIw\u0026parameters%5B2%5D=IiBtYXJnaW53aWR0aD0iMCIgbWFyZ2luaGVpZ2h0PSIwIj4iO3M6NDoid3JhcCI7\u0026parameters%5B3%5D=czozNzoiPGEgaHJlZj0iamF2YXNjcmlwdDpjbG9zZSgpOyI%2BIHwgPC9hPiI7fQ%3D%3D','c7ec27bdd7e4c8fe22d9e08bb607ca86','width=400,height=282,status=0,menubar=0'); return false;" target="thePicture"><img src="/typo3temp/assets/_processed_/2/e/csm_xxx_Kirschbl%C3%BCte_1d83eb094c.jpg" width="284" height="200"  class="img-responsive"  alt="Produkt"  border="0"></a>

The image in the img-tag is visible in both cases. The image from tx_cms_showpic is visible too.

Actions #4

Updated by Lars Michalowski over 2 years ago

imageLinkWrap causes the problem here. It breaks when using file names with UTF8 umlauts (tested in current 10.4.20). See https://forge.typo3.org/issues/93716.

Actions #5

Updated by Lars Michalowski over 2 years ago

  • Related to Bug #93716: Problems with UTF-8 filenames, in cImage the imageLinkWrap gets the public path as identifier added
Actions #6

Updated by Gerrit Code Review about 2 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73983

Actions #7

Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73983

Actions #8

Updated by Gerrit Code Review about 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73983

Actions #9

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74116

Actions #10

Updated by Lars Michalowski about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions #12

Updated by Thomas Jirasko over 1 year ago

Why was the patch not implemented in TYPO3 v 10.4?

Actions

Also available in: Atom PDF