Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Setting twig.debug to true (services.yml) seems to break the display/opening of JS dialogs for
field settings (format) in views ui (/admin/structure/views/view/xxxx/edit/yyyy)
→ In my case a REST Export view for nodes referenced by taxonomy.
We've added some node fields to Format > Fields. Every AJAX dialog within the view then was broken - failing silently with no error messages (JavaScript, watchdog etc.)
Disabling the twig debug mode fixed this.
Comments
Comment #2
cilefen CreditAttribution: cilefen commentedSince this affects the admin UI only and there is a workaround (disabling debug), this is not major priority.
Comment #4
joelpittetMaybe we can strip HTML comments before output or store them somewhere else if going to JS and swap that based on the services setting... Can you point out which JS file is responsible for displaying the text/markup output?
Comment #5
droplet CreditAttribution: droplet commentedSounds impossible. I've done a quick test and didn't find the problem. Could you post more detail steps with the standard default view?
there're some issue about dialogs will not open in some conditions that may be related.
Comment #6
joelpittetpostponing details from #5
Comment #7
dawehnerIdeally the next steps would be a clear step by step instructions how to reproduce it.
Comment #8
joelpittetTo triage the issue queue I'm closing this. Feel free to re-open with steps to reproduce the problem.
Comment #9
seppelM CreditAttribution: seppelM commentedWe weren't able to reproduce the "bug" in 8.20 so far.
Comment #10
joelpittetThanks for the feedback @seppelM. Sorry you can't re-open but I can if need be. It's a recent change that I didn't realize while closing.