Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-263

Loading of frozen nodes Instead of file from classpath after deletion of overridden resource file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.4.3
    • resourceLoaders

    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]

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tmiyar Teresa Miyar
                Nucleus
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD