We are preventing configuration changes on some of our production sites using the config_readonly module, so that we can maintain clean config-in-code setups.

However, it appears that xmlsitemap, when rebuilt during a cron run, calls batchVariableSet() and saves config. Cron dies when config_readonly is on.

Is what's being saved in config really necessary to be there? Could it be stored somewhere else?

CommentFileSizeAuthor
#2 2972043-support-config-readonly.patch414 bytesdave reid

Comments

cwells created an issue. See original summary.

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new414 bytes

This moves the $this->config->save() call to not always happen every time.

  • Dave Reid committed ec2f765 on 8.x-1.x
    Issue #2972043 by Dave Reid: Fixed incompatibility with config_readonly...
dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.