Details
-
Story
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
None
Description
User Story:
As a developer or administrator I want to ensure that any JCR hotfixes are removed when I deploy a new version of my project, so that the resource changes that are in my new version take effect as expected.
Problem Details:
A common problem is that authors override a file-provided resource (for example a YAML app definition) in AdminCentral Resources app by "editing it" which creates a JCR item, a "hotfix". This JCR Item overrides the YAML file. So far so good. The problems come next:
- Development team then makes a change to the YAML app definition, these changes are not reflected on the website. Why? (Oh yeah, that file is being overridden.)
- What is the best route to get that "hotfix" out of JCR and into the YAML definition? (So the fix is not forgotten.)
Suggested Solution:
- RemoveAndBackupResources UpdateTask
- Provide a convenient update task which scans all resources (or you can limit it to certain paths), removes JCR "hotfixes", and optionally saves them to a specific directory location with a timedate and maybe version stamp.
- It must take effect on Author and public instances.
Checklists
Acceptance criteria
Attachments
Issue Links
- relates to
-
MGNLRES-324 Manually remove outdated JCR hotfix overrides
-
- Closed
-