Bug
Store specific files in global twig cache dir
Issue description
With removing global state the twig usage was refactored as well. This caused subtle changes which leads to tests failing now, which did not fail before. Make sure that the global twig cache dir does not hold any store specific assets. Also compare it to version 9.4.0 where this worked just fine.
Developer comments
In one case the header.html file gets cached in the Topincs twig cache dir and not in the store specific twig cache dir. This causes an leftover header to be reused and therefore the bunlde tests fail, since two expected assets are absent. These tests run in isolation.
I am not even sure why there is a global twig cache dir.
This is all correct. This was an artefact during the tests since there the store does get reused (to speed up the tests) and the twig cache was not empties in tear down.
The store header.html and head.html are indeed cached in the general twig cache dir. This is no problem since the receive a unique filename.
|
Work sessions2
Start |
2025-03-26T08:31:46
|
End |
2025-03-26T12:31:58
|
Participant |
Robert Cerny
|
Start |
2025-03-26T14:00:00
|
End |
2025-03-26T16:37:16
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.