Bug #75314

HtmlViewHelper ignores stdwrap hooks

Added by Fabrice Morin over 3 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2016-03-30
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlViewHelper file, the class ContentObjectRenderer is instantiated but the start() method is not called, so the following hooks are ignored :
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass']
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['stdWrap']
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['postInit']

Related issues

Related to TYPO3 Core - Story #73183: Removal of frontend simulation in all ViewHelpers Under Review 2016-02-08
Related to TYPO3 Core - Bug #81624: ContentObjectRenderer not fully initialized in f:format.html ViewHelper Closed 2017-06-20

Associated revisions

Revision 3ba04e4b (diff)
Added by Torsten Schrade about 2 years ago

[BUGFIX] Fully initialize ContentObjectRenderer in HtmlViewHelper

Add a call to the start function of ContentObjectRenderer after
instantiation. This is necessary to get all hooks fully initialized.

Resolves: #81624
Resolves: #75314
Releases: master, 8.7, 7.6
Change-Id: I75d30e860cd77a1b233d4383a3e57afe9a34ec54
Reviewed-on: https://review.typo3.org/53264
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Wouter Wolters <>
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

Revision b3316347 (diff)
Added by Torsten Schrade about 2 years ago

[BUGFIX] Fully initialize ContentObjectRenderer in HtmlViewHelper

Add a call to the start function of ContentObjectRenderer after
instantiation. This is necessary to get all hooks fully initialized.

Resolves: #81624
Resolves: #75314
Releases: master, 8.7, 7.6
Change-Id: I75d30e860cd77a1b233d4383a3e57afe9a34ec54
Reviewed-on: https://review.typo3.org/53336
Tested-by: TYPO3com <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Torsten Schrade <>
Tested-by: Torsten Schrade <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision a928f30c (diff)
Added by Torsten Schrade about 2 years ago

[BUGFIX] Fully initialize ContentObjectRenderer in HtmlViewHelper

Add a call to the start function of ContentObjectRenderer after
instantiation. This is necessary to get all hooks fully initialized.

Resolves: #81624
Resolves: #75314
Releases: master, 8.7, 7.6
Change-Id: I75d30e860cd77a1b233d4383a3e57afe9a34ec54
Reviewed-on: https://review.typo3.org/53338
Tested-by: TYPO3com <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Torsten Schrade <>
Tested-by: Torsten Schrade <>

History

#1 Updated by Gerrit Code Review about 3 years 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/48580

#2 Updated by Gerrit Code Review about 3 years 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/48580

#3 Updated by Gerrit Code Review about 3 years 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/48580

#4 Updated by Gerrit Code Review almost 3 years 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/48580

#5 Updated by Gerrit Code Review over 2 years 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/48580

#6 Updated by Gerrit Code Review about 2 years 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/53264

#7 Updated by Markus Klein about 2 years ago

  • Related to Bug #81624: ContentObjectRenderer not fully initialized in f:format.html ViewHelper added

#8 Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53336

#9 Updated by Torsten Schrade about 2 years ago

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

#10 Updated by Gerrit Code Review about 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53338

#11 Updated by Torsten Schrade about 2 years ago

  • Status changed from Under Review to Resolved

#12 Updated by Benni Mack 10 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF