Project

General

Profile

Actions

Bug #78718

closed

ViewHelpers do not compile similarly on 7.6 LTS and v8+

Added by Claus Due about 8 years ago. Updated about 6 years ago.

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

100%

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

Description

Due to differences in signatures of the compile() method on the former and current versions of Fluid, third-party ViewHelpers cannot implement a compile method which works on both versions.

The TYPO3 core should provide a legacy version of the compiling assistant traits on 7.6 and a set of aliases on 8.5+ which can be used in third party ViewHelpers to make them compile on 7.6 and 8.5+ using the same logic.

NB: a proof of concept for such aliases and legacy versions of compiling traits can be found at https://github.com/NamelessCoder/typo3-cms-fluid-gap and has been thoroughly tested to work on both versions. The few hundred lines of code they contain (which are only needed on 7.6; v8 can make do with a simple alias) make it possible for packages like VHS to offer greatly improved performance on both versions. Other extensions such as News and Powermail can adopt the aliases as well without risking incompatibility.

Actions #1

Updated by Claus Due about 8 years ago

  • Category set to Fluid
Actions #2

Updated by Gerrit Code Review about 8 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/50674

Actions #3

Updated by Gerrit Code Review about 8 years ago

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/50676

Actions #4

Updated by Gerrit Code Review about 8 years ago

Patch set 2 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/50676

Actions #5

Updated by Gerrit Code Review about 8 years ago

Patch set 3 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/50676

Actions #6

Updated by Anonymous about 8 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF