Skip to content

Commit

Permalink
[BUGFIX] Use f:format.raw in recycler partials
Browse files Browse the repository at this point in the history
Since #91080, TemplateService tries to fetch a site configuration from
TSFE. As EXT:recycler uses the f:format.html ViewHelper, a TSFE is
mocked which breaks the request.

This bugfix makes use of f:format.raw instead, as

1. this fixes the issue
2. f:format.html is not required at all

Resolves: #91131
Related: #91080
Releases: master
Change-Id: Ic2b1de9aa2b419641509e755ab4d179f69178651
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64249
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Josef Glatz <josefglatz@gmail.com>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Josef Glatz <josefglatz@gmail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
  • Loading branch information
andreaskienast authored and ohader committed Apr 19, 2020
1 parent 0bcbb40 commit d51e3d0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -47,7 +47,7 @@
<td>{record.crdate}</td>
<td><be:avatar backendUser="{record.owner_uid}" showIcon="true" />{record.owner} ({record.owner_uid})</td>
<td><f:if condition="{record.delete_user}"><be:avatar backendUser="{record.delete_user_uid}" showIcon="true" />{record.delete_user} ({record.delete_user_uid})</f:if></td>
<td><f:format.html>{record.path}</f:format.html></td>
<td><f:format.raw>{record.path}</f:format.raw></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit d51e3d0

Please sign in to comment.