I save the templates in database (databaseTemplates is true in config). This works fine, but when I changed some layout files on filesystem and sync this files to database, this doesn't work as expected.
For example I use the command:
artisan theme:sync --target=database --force --paths=layouts/about.htm
But the changes are not in database, although the message shows The theme mytheme has been successfully synced from the filesystem to the database.
I have debug the process and I think the source is not the correct one. When I change some content in database and look at the variable $content in modules/cms/classes/AutoDatasource.php#L156 , I see the content from database and not from filesystem.
What's going wrong?
@bennothommo could you take a look?
@LukeTowers will do.
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days.
@hackolein can you test out #5017 and let me know if that fixes the issue for you?
Yes, works as expected. Thank you!