Project

General

Profile

Actions

Bug #93933

closed

Exception in Render-Viewhelper only once after clearing cache

Added by Dieter Porth over 3 years ago. Updated 5 months ago.

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

0%

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

Description

I had a virender-viewheler with two colons `,,` in the arguments.

      <f:render partial="GGGG/General" 
          section="Main" 
          arguments="{plan:plan,,
          pid: pid}" 
      />

After clearing the cache this bug throws an exception.
The next rendering of the page works will work fine. The re is no more eception.

I think, this bug should always throw an exeception.

P.S
I tend to tunnel vision (attitude effects) when I am programming. This would help me to notice my errors despite tunnel vision.

Actions #1

Updated by Riccardo De Contardi over 3 years ago

  • Category set to Fluid
Actions #2

Updated by Simon Praetorius over 1 year ago

  • Status changed from New to Resolved

I cannot reproduce this behavior in the current Fluid version, as demonstrated by the following test cases:

https://github.com/TYPO3/Fluid/pull/807

This test checks both uncached and cached usage. As you can see from the results, a double-comma results in an uninterpreted array syntax. In your case, arguments would be a string.

I'm closing this for now. If the issue is still present for you, feel free to get back here, then I'll reopen.

Actions #3

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF