-
Notifications
You must be signed in to change notification settings - Fork 40
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
[UX] Updates via the UI: Do not take the site out of maintenance mode if there are db updates pending #4320
Comments
#3550 was simply getting it functioning the way it does in Drupal 7 -- but this seems like a good idea, I think. |
I'd like to see this happen. I mentioned it in #3245 ; here's what I said:
From what I can tell, then lines that take it out of maintenance mode: Need to be moved to between lines 248-251 in @laryn 's PR for #3245 elseif ($success) { //L248
backdrop_set_message($page_message['message'], $page_message['type']);
backdrop_goto('admin/config/system/updates');
} //L251 And also somewhere in Happy to have a go at this, but would welcome a steer on the update.php bit @laryn @klonos I think this would be good to go alongside #3245 if it can be done in time. |
I was just wondering what the status is on this because this issue has been sitting for a year without any update. I think the community is in agreement that this behavior is not ideal. Also, this issue introduces the user to potential site errors if a module is installed that requires some kind of database update and the site is visited before the updates are carried out. For example, a hook is implemented that is executed on every page. |
@yorkshire-pudding I agree this would pair nicely with #3245 -- if there are database updates it could go straight to those while still in maintenance mode (and then take you out of maintenance mode after updates are complete); if there are no database updates it could skip that part and take you out of maintenance mode automatically. I'm unassigning myself on #3245 since I won't have time to get back to it for some time. I know @argiepiano took a crack at that one too so may have some input here for you, if you're still interested in working on these @yorkshire-pudding. @rbargerhuff I think the status is needs work! |
I'm going to bump this issue up because it is important even though it may be nestled with other issues, which may be a good thing. |
Reported by @bradbulger in the forum: https://forum.backdropcms.org/forum/module-updates-and-maintenance-mode
We seem to have missed this scenario in #3550.
The text was updated successfully, but these errors were encountered: