-
-
Notifications
You must be signed in to change notification settings - Fork 554
Description
Problem/Motivation
The update:entities command is part of a number of commands used as part of a normal production deployment process. Often it is desirable to place the site into maintenance mode prior to executing this chain of commands and leave it there until the chain is complete and the site integrity is verified. The update:entities command takes the site out of maintenance mode after it completes running regardless of whether the site was in maintenance mode when it was executed.
How to reproduce
Place a site into maintenance mode, and execute "update:entities". Verify that the site is no longer in maintenance mode.
Solution
The update:execute command saves the maintenance mode state prior to executing and restores it after. It is desirable for the update:entities command to replicate this behavior.