[MGNLRES-263] Loading of frozen nodes Instead of file from classpath after deletion of overridden resource file Created: 01/Mar/16  Updated: 29/Mar/22  Resolved: 05/May/20

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

Type: Bug Priority: Major
Reporter: Teresa Miyar Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-6527 Deletion of a hot fix configuration i... Closed
dependency
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
Date of First Response:
Story Points: 8
Team: Nucleus

 Description   

The deletion (more specifically the "marked as deleted" action) of an overridden resource file from classpath via resources app results in an incorrect state.
Instead loading the resource file from classpath, magnolia loads the frozen node from the jcr resources workspace.
Everything works fine after publishing the deletion. But as an admin, I need to verify the state on the author instance after the deletion of a hotfix before i publish the deletion.
Steps to reproduce on demoauthor:
Go to tourTeaser.ftl file in the resource app, overridde the file and publish changes.

Delete the overridden file

Go to page with tourTeaser and you will see no more tourTeasers.

The error you get on this rendering is:
ERROR freemarker.runtime 01.03.2016 13:18:41 – Error executing FreeMarker template
FreeMarker template error:
The following has evaluated to null or missing:
==> tourTeaser [in template "tours/templates/components/tourList.ftl" at line 22, column 15]



 Comments   
Comment by Tomáš Gregovský [ 17/Jan/18 ]

probably similar to https://jira.magnolia-cms.com/projects/CLOUDHELP/issues/CLOUDHELP-62
please prioritise this. thank you!

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