Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance mode and updates via the UI #3550

Closed
laryn opened this issue Feb 20, 2019 · 8 comments
Closed

Maintenance mode and updates via the UI #3550

laryn opened this issue Feb 20, 2019 · 8 comments

Comments

@laryn
Copy link
Contributor

laryn commented Feb 20, 2019

I believe in D7, when you update a module via the UI, you are prompted to put the site in maintenance mode, and then it automatically comes out of maintenance mode after the download is completed successfully. In Backdrop currently, it remains in maintenance mode until you go to manually turn it off.


PR by @laryn: backdrop/backdrop#2515

@laryn
Copy link
Contributor Author

laryn commented Feb 20, 2019

@laryn
Copy link
Contributor Author

laryn commented Feb 21, 2019

Given the clear intent of the code and the fact that people who want a more extended maintenance mode can simply manually put it into maintenance mode before doing any updates (and it will stay in maintenance mode afterwards), I'm changing this to a bug.

@olafgrabienski
Copy link

I believe in D7, when you update a module via the UI, you are prompted to put the site in maintenance mode, and then it automatically comes out of maintenance mode after the download is completed successfully.

Confirming how it works in D7, see screenshot:

screen-d7-update-manager-out-of-maintenance-mode

@serundeputy
Copy link
Member

seems weird to me to take the site out of maintenance mode before you check if things are ok 🤷‍♀️ imho.

@herbdool
Copy link

herbdool commented Mar 9, 2019

Looks like a simple fix. I requested a small change @laryn

@laryn
Copy link
Contributor Author

laryn commented Mar 11, 2019

Thanks @herbdool -- good catch.

@jenlampton
Copy link
Member

Code looks great, and testing showed that my site came out of maint mode :)
Screen Shot 2020-01-15 at 3 07 43 PM

@quicksketch
Copy link
Member

Merged backdrop/backdrop#2515 into 1.x and 1.14.x. Thanks folks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants