Actions
Bug #82575
closedexception thrown in `f:uri.resource` with `absolute="true"`
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-09-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi
TYPO3 8.7.7
f:uri.resource with absolute="true" throws this exception:
Uncaught TYPO3 Exception Call to undefined method TYPO3\CMS\Extbase\Mvc\Request::getBaseUri() Error thrown in file /www/www.example.com/site/vendor/typo3/cms/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php in line 74.
Updated by Markus Klein about 7 years ago
- Status changed from New to Needs Feedback
TYPO3\CMS\Extbase\Mvc\Requestseems weird, this should be a
Web\Requestinstead.
Where does this error actually happen?
Updated by Rémy DANIEL about 7 years ago
This error happens in fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php in line 74, in FE (not Cli, not BE)
Updated by Markus Klein about 7 years ago
I just tested this in a current project with
<img src="{f:uri.resource(path: 'Images/creditcards.png', absolute: 1)}" width="105" height="35" alt="Credit Cards" />
Works without issues.
Updated by Wouter Wolters almost 7 years ago
- Status changed from Needs Feedback to Closed
Tested myself, works as expected. Closing this for lack of feedback.
Actions