Opened 8 years ago
Last modified 2 years ago
#36887 new defect (bug)
Database upgrades should fail gracefully
Reported by: | pento | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | low |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | needs-patch |
Focuses: | administration | Cc: |
Description
Currently, wp-admin/upgrade.php
and wp_upgrade()
don't check that the database has actually upgraded properly, before returning a success message.
Making them fail gracefully would be nice.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Any one wishing to know more about this issue should read the original ticket #36886
Also - I changed the "type" of this ticket from enhancement to defect (bug). There is no way that it can be considered an enhancement to fix code which issues a message saying that the database update was successful when an error occurred - and the error is displayed right above the false positive message.
It is a defect, a bug.
I've also changed it from resolve as invalid to leave open.
I have no idea what invalid means but I would think the report should be left open until the issue is actually resolved.
I also changed it from minor to normal.