Opened 13 years ago
Closed 11 years ago
#18503 closed enhancement (wontfix)
Delete-Plugin Error Validation Clears Form Values
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.1 |
Component: | Administration | Keywords: | ux-feedback has-patch dev-feedback |
Focuses: | Cc: |
Description
When bulk-deleting a set of plugins, if an error is encountered - all selected values are lost.
Process:
- Go to plugins overview screen, select several (active) plugins to delete.
- From the bulk-action dropdown menu, select "delete", then "apply"
Expected behaviour:
Error message: "You cannot delete a plugin while it is active on the main site." - Check marks are preserved, so you simply select "deactivate" and click on "apply" again.
Actual behaviour:
Error message: "You cannot delete a plugin while it is active on the main site." - All check marks lost, and you have to start all over again - which is a pain for sites with lots of plugins.
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
The "You cannot delete a plugin while it is active on the main site." error is actually really pretty stupid..
The error conditional is hit in only *one* case, when you attempt to delete multiple ACTIVE plugins, which are activated on the current site.
If you include a inactive plugin in the list of plugins you check, you get the Delete Plugins confirmation page with only those inactive plugins listed.
Since none of the other Bulk Actions work in a similar way, I'm closing this as wontfix for now, it doesn't appear like something that's actually a problem.