[MGNLRES-311] Missing "mgnl:template" property when copying resource from classpath to Jcr Created: 31/Jan/18  Updated: 29/Mar/22  Resolved: 14/Mar/22

Status: Closed
Project: Magnolia Resources Module
Component/s: None
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Khuong Nguyen Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File without_mgnlTemplate_property.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Team: Nucleus

 Description   

When copying a resource from classpath to JCR workspace “resources”, "mgnl:template" property is missing, so the file has "no template" status in Processed Resources app. Thus, hotfixing doesn’t work and stylesheet is missing in HTML page.

Steps to reproduce:
1/ Load a CSS file from classpath in Resources App, and edit it.
2/ A copy of the resource file stored in JCR and "mgnl:template" property is missing. We can check it in TOOLS/JCR App.

Actual: Hotfixing doesn’t work because “mgnl:template” property is missing.
Expected: “mgnl:template” property should be created and hotfixing should work.


Generated at Mon Feb 12 06:49:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.