Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Describe the bug
After a lot of debugging and banging my head against the wall, I have managed to trace this issue back to this line in a Twig-template:
I've figured this out.. It's mostly because the unit test that fails doesn't set any variables, which isn't an issue for variables used in a regular manner.
However, because the unit test doesn't set any vars, the failing line in the Twig-template becomes:
The fact remains that if someone fails to set a crucial variable, they end up with a horrible headache that's hard to debug.
We need to decide whether to:
I think (2) is the way to go as a 1.19 milestone.. If we manage to fix all templates we can truly say our templating system has properly matured and is ready to be the default in 2.0.