Bug #92749

Add data to HtmlViewHelper

Added by Stefan Froemken 3 months ago. Updated 3 months ago.

Status:
Under Review
Priority:
Should have
Category:
Fluid Styled Content
Target version:
Start date:
2020-11-02
Due date:
% Done:

0%

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

Description

Hello Core-Team,

we have added some if-conditions into lib.parseFunc_RTE to change link-color for different colPos.

We are using the default Text.html Template of fluid_styled_content:

<f:format.html>{data.bodytext}</f:format.html>

This ViewHelper creates a new ContentObjectRenderer and initializes it with an empty data argument:

$contentObject = GeneralUtility::makeInstance(ContentObjectRenderer::class);
$contentObject->start([]);

As $cObj->data is empty now, our TS if-condition on field=colPos will never match.

I prefer to add a new property to HtmlViewHelper to get if-conditions in TS works again.

Stefan

#1

Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

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

#2

Updated by Gerrit Code Review 3 months ago

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

#3

Updated by Gerrit Code Review 3 months ago

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

#4

Updated by Gerrit Code Review 3 months ago

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

#5

Updated by Gerrit Code Review 3 months ago

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

Also available in: Atom PDF