-
Type: Feature Request
-
Status: Needs Review
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 5.3.0-B1
-
Component/s: Admin Interfaces
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:Changing theme name in UI or deleting and restoring it on disk no longer results in content block data loss.
-
Story Points:1
-
Sprint:In-Portal's First Sprint, In-Portal's 2nd Sprint, In-Portal's 3rd Sprint, In-Portal's 4th Sprint
-
Copy Issue Key:
-
Patch Instructions:
Plan:
- Add "AddedOn" and DeletedOn" columns to theme and display them on grid/edit page.
- Add "Deleted" status (new option in existing Status field) to theme.
- If during theme scanning we've discovered theme theme record in DB no longer have corresponding folder on disk, then set "Status=Deleted" + "DeletedOn=NOW()" to theme DB record instead of deleting it & associated theme files.
- If during theme scanning we've discovered that folder on disk is matching a theme with "Deleted" status, then set "Status=Disabled" + "DeletedOn=NULL" + "AddedOn=NOW()".
- Remove "Delete" toolbar button on "Themes" grid.
- Remove "in-portal:configure_themes.delete" permission (from db & unit config).
- Make "Name" field of the theme read-only.