Project

General

Profile

Actions

Bug #93804

closed

Sorry, my fault, please ignore this issue

Added by Bill Dagou about 3 years ago. Updated about 3 years ago.

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

0%

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

Description

<f:if condition="'{v:variable.register.get(name: \'print\')}'">
    ...
</f:if>

was parsed as follow in the cache file

// Rendering Boolean node
// Rendering Array
$array23 = array();
$array23['0'] = '\'{v:variable.register.get(name: \\\'print\\\')}\'';

$expression24 = function($context) {return '{v:variable.register.get(name: \'print\';};
$arguments7['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
                                        $expression24(
                                                TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array23)
                                        ),
                                        $renderingContext
                                );      

The condition was not fetched completely in the $expression24 line.

Actions #1

Updated by Bill Dagou about 3 years ago

  • Subject changed from Parsing condition incorrect in Fluid cache to Sorry, my fault, please ignore this issue
Actions #2

Updated by Oliver Bartsch about 3 years ago

  • Status changed from New to Closed

Thanks for your feedback. I'll therefore close this issue now.

Actions

Also available in: Atom PDF