Make WordPress Core

Opened 8 years ago

Last modified 2 years ago

#36887 new defect (bug)

Database upgrades should fail gracefully

Reported by: pento's profile pento Owned by:
Milestone: Future Release Priority: low
Severity: normal Version:
Component: Upgrade/Install Keywords: needs-patch
Focuses: administration Cc:


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)

#1 @BobNwp
8 years ago

  • Severity changed from minor to normal
  • Type changed from enhancement to defect (bug)

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.

Last edited 3 years ago by SergeyBiryukov (previous) (diff)

#2 @desrosj
2 years ago

  • Milestone set to Future Release

Looks like the milestone was removed on this one. Re-adding as this still seems like a worthy improvement.

Note: See TracTickets for help on using tickets.