Bug #47674

HtmlentitiesViewHelper is scope singleton

Added by Alexander Berl over 2 years ago. Updated 11 months ago.

Status:Resolved Start date:2013-04-28
Priority:Should have Due date:
Assigned To:Alexander Berl % Done:

100%

Category:ViewHelpers
Target version:TYPO3 Flow Base Distribution - 2.0.1
Has patch:No Affected Flow version:Git master

Description

The HtmlentitiesViewHelper currently is scoped singleton, why all other format ViewHelpers are of scope prototype. This leads to weird behaviour when using the ViewHelper multiple times within one template and a partial. See the related bug for more information.


Related issues

related to TYPO3.Fluid - Bug #33551: View helper values break out of a partial scope New 2012-01-31

Associated revisions

Revision 2b184e1a
Added by Alexander Berl 11 months ago

[TASK] Bring format viewhelpers in line with each other

This change makes HtmlentitiesViewHelper scope prototype and
makes most format ViewHelpers compilable by implementing
renderStatic().

This has a positive impact on memory consumption (and possibly
performance) because Fluid won't have to instanciate a view helper
for each usage.

Change-Id: I96117c3ec68364346381c6119a9fb29d9fad7f44
Releases: master
Resolves: #47674

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20273

#2 Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20273

#3 Updated by Karsten Dambekalns almost 2 years ago

  • Target version changed from 2.0 to 2.0.1

#4 Updated by Gerrit Code Review 11 months ago

Patch set 3 for branch master of project Packages/TYPO3.Fluid has been pushed to the review server.
It is available at http://review.typo3.org/20273

#5 Updated by Alexander Berl 11 months ago

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

Also available in: Atom PDF