Opened 15 years ago
Closed 14 years ago
#19752 closed enhancement (fixed)
Bad error message: "An error occurred while updating PLUGIN: The plugin is at the latest version.."
| Reported by: | markjaquith | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Plugins | Version: | 3.3.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
This error message is poor:
"An error occurred while updating PLUGIN: The plugin is at the latest version.."
It has a red background and everything.
We should just succeed with a note that it was already up to date. Failures are for things that went wrong, not that already went right.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Just to add, this only happens with the bulk upgrader. For individual upgrades it just reports that the plugin is already up to date.
Attached is a patch that reports an already up to date plugin/theme as a success (instead of an error). The "plugin is at the latest version" bit then appears under "show details". The current code doesn't really allow for a neutral message, it has to be either success or error, and success seems more appropriate.