Uploaded image for project: 'Periscope'
  1. Periscope
  2. MGNLPER-142

As a search result, a resource file opens with empty content in a version dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None

    Description

      Seen in 6.2.3 CE (Snapshot: 2020.07.20 22:11:50) Build : 20. July 2020 (rev. 11d8a87550c9e ...)

      Steps to reproduce:

      1) In the Resource Files app, open and save for example /travel-demo/templates/macros/imageResponsive.ftl (making no edits in the resource, just to let it be picked up by the search result supplier.)

      2) Go back to the Admincentral home and in the Find bar, type responsive:

      You'll see this among the results:

      3) Click the result. It opens with no content and "version" in the URL:

      The log shows:

      2020-07-28 07:32:53,246 WARN urceloader.classpath.LegacyClasspathResourceOrigin: Loading contents of a resource at [/mgnl-resources/ace/mode-ftl.js] via legacy LegacyClasspathResourceOrigin. Please update your resources. For further details see https://documentation.magnolia-cms.com/display/DOCS/Resources
      

      4) In the URL, change "version" to "view" (or "edit"), and you get the expected content:

       

       

       

      Checklists

        Acceptance criteria

        Attachments

          1. emptyContent.png
            emptyContent.png
            21 kB
          2. expectedContent.png
            expectedContent.png
            44 kB
          3. searchResult.png
            searchResult.png
            8 kB
          4. typeResponsive.png
            typeResponsive.png
            11 kB

          Activity

            People

              Unassigned Unassigned
              mdrapela Martin Drápela
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD