Open joepagan opened 2 years ago
First step is definitely updating to the latest Craft version and seeing if the issue persists.
Unfortunately don't have time available to action that on this project to test all the features and release, couldn't see any existing issues or references in the change log so thought I'd log it.
@joepagan understandable.
Is this happening on the same environment? As in, you make the changes, see the project.yaml file change, make the changes, see it revert back?
Can you try clearing all your caches?
Is this happening on the same environment? As in, you make the changes, see the project.yaml file change, make the changes, see it revert back?
That is correct, I was trying to action this on a dev environment to push the config changes to production.
Can you try clearing all your caches?
Just reverted it back, cleared the caches and tried again and can confirm the project config files are as they should be!
Ah, okay. So everything is good now?
Yes that appears to be working as intended now, though is there still a bug?
Surely we are not expected to clear the cache before applying backend changes for the project config files to be accurate?
FWIW, we've seen this happen maybe two times before and in both cases it wasn't possible to pinpoint why or how this was happening, only that a certain cache got stuck.
Are you using Docker in this environment?
I am indeed using docker just on dev on this project. Though I do work with docker for uat/prod envs on other projects also.
It does sound like a cache isn't being invalidated on section save, the database was reporting the section setting correctly of course.
Description
Disabling auto-refresh on more than 1 section will not retain necessary changes to all sections in project config files
state of
config/project/sections/photography--cad713ff-8485-4ab5-b6e8-df193c2e5937.yaml
after disabling auto-refresh on this particular section (what I wanted):Same file after disabling auto-refresh in another section:
Steps to reproduce
Additional info