Closed (cannot reproduce)
Project:
Drupal core
Version:
9.2.x-dev
Component:
views_ui.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Sep 2015 at 16:46 UTC
Updated:
7 Apr 2021 at 03:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dawehner.
Comment #3
olli commentedCan we use renderPlain()?
Comment #5
mikeker commentedThis (at least partially) blocks #2492839: Views replacement token bc layer allows for Twig template injection via arguments.
Comment #6
olli commentedHere's a test.
Comment #8
mikeker commentedPerhaps a dumb question: what happens if there is already a render context when
viewsTokenReplaceis called? WillrenderPlainoverwrite that context?Comment #9
olli commented#8 not a dumb question. Docs say it calls render in another context (in isolation) so bubbling is not possible. Is that a problem?
Comment #10
dawehnerHEAD is now using renderPlain() so should we maybe just add some test coverage?
Comment #11
dawehner.
Comment #20
quietone commented@olli, Thanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.
I tested this on 9.2.x and was not able to reproduce this error. I followed the steps given in the Issue Summary.
Therefore, closing as cannot reproduce. If you are experiencing this problem reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!
Comment #21
quietone commented