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

Also available in: Atom PDF