Opened 8 years ago
Closed 8 years ago
#40561 closed defect (bug) (duplicate)
Themes upload with an identical theme should provide a "Replace" prompt
Reported by: | folletto | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Uploading a theme with an "id" (folder name) identical to an existing one should ask the user if they want to "Replace" it or "Cancel" the operation.
The issue:
- A user uploading an existing theme is currently simply stopped with a fail message with no way forward: "Destination folder already exists." and "Theme install failed".
- To replace the theme, they have to go back manually, delete the theme, then re-upload. Which is basically the same as a prompt asking to replace.
- The above however isn't possible if the theme is an active theme: the user is thus forced to de-activate the theme first, which might mean losing customization settings in the process, and even more having a gap where the site looks bad.
Thus we should:
- Introduce a "Do you want to replace the existing theme?" prompt.
- Show which theme is about to be replaced.
- Add an extra warning if it's an active theme (we should build the replacement of an active theme in a safe way, but as we know there's always a degree of uncertainty).
- (ideally) A matching API to provide this functionality.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Current "Fail" message (4.7.4)