Project

General

Profile

Actions

Bug #54115

closed

Fluid: ViewHelper namespaces in old style + class alias map + closing tag usage = Exception 1224485398

Added by Claus Due almost 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-11-30
Due date:
% Done:

100%

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

Description

As subject states, the following combination of factors result in Exception 1224485398:

  • Fluid template uses Tx_ name in namespace
  • ViewHelpers exist as namespaced classes
  • ClassAliasMap is used to create backwards compatibility
  • ViewHelper used with closing tag

The reason is that the closing tag ViewHelper node class name will not match the opening tag node class name.

The problem can be solved completely by letting the resolveViewHelperName() method check if class name is an alias, and if so, use the real class name instead of the alias class name. Fix is incoming.

Actions

Also available in: Atom PDF