Issue Bug Closed

#93933Exception in Render-Viewhelper only once after clearing cache

Dieter Porth 04/16/21, 09:18 updated 07/09/24, 12:45

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Riccardo De Contardi changed category 05/15/21, 14:54

  2. Simon Praetorius commented and changed status New Resolved 06/19/23, 08:43

    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.

  3. Benni Mack changed status Resolved Closed 07/09/24, 12:45