Bug #43306
Non existing Argument in Fluid ViewHelper throws Exception in Backend Widget
Status: | Resolved | Start date: | 2012-11-26 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Christian Müller | % Done: | 100% |
|
Category: | UI | |||
Target version: | - |
Description
Hi,
After a fresh installation off Neos, it directly throws Exceptions if you switch Modules in Backend.
This is because in TYPO3.Neos/Resources/Private/Templates/Module/Widget.html, unregistered Argument "uri" in ViewHelper "f:uri.resource" is used.
Changing the Argument Name in the ViewHelper to path corrects this issue.
Before:
<f:if condition="{submoduleConfiguration.icon}"> <img src="{f:uri.resource(uri: submoduleConfiguration.icon)}" class="pull-right" /> </f:if>
After/Fix:
<f:if condition="{submoduleConfiguration.icon}"> <img src="{f:uri.resource(path: submoduleConfiguration.icon)}" class="pull-right" /> </f:if>
I think this one is urgent cause it breaks the whole Backend.
Associated revisions
[BUGFIX] Adjust Neos to changed resource ViewHelper in Fluid
The resource ViewHelper no longer has a uri property so Neos
uses path now in the module widget.
Fixes: #43306
Change-Id: If9ee151b95bb0dfd1632852ae4de95cc051105ab
History
#1 Updated by Bastian Waidelich over 2 years ago
- Status changed from New to Under Review
- Assigned To set to Christian Müller
Thanks for reporting. A fix for this is currently under review: https://review.typo3.org/#/c/16701 and about to be merged
#2 Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16701
#3 Updated by Christian Müller over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a2a88c6a0acd944b4feffe95e6cd1ae76291ee83.