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
Static template file not updated (/sync) when changed though a clear cache is done #14674
When a template is static, if the static file of the template is changed with an external editor, then we do a clear cache, there is no sync of the template, changes are not taken into account...
Step to reproduce
Nothing has changed or was updated... the resource parsed with the old template.
The view is updated according to the changes made in the template static file
To have the template updated, it is needed to go to the manager and edit the template... that reloads the static file and seems to sync at that moment.
MODX 2.7.1, apache 2.4.25 (Debian 9.8), 10.1.38-MariaDB-0+deb9u1, firefox/chrome
args... so it sounds to be a environment problem... but what... I've got no pb with static chunks or snippets...
To answer your question:
media source is set to "Filesystem"
I've just done a new test with another template with static file and it's working fine with it :-s
The difference is that the one that does not work is parsed through the API... I mean I get the content of the template through the API
This will fetch the template from the database (not from the file). I believe