Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8227

Response.setStatus causing templating error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • 6.2.13
    • None

    Description

      Steps to reproduce

                ${ctx.getResponse().setStatus(404)}

                directly below the following line:
                [@cms.area name="main"/]

                 Save template.

      • Go to Pages app and create a page with the Basic template (name it "Test" for example)
      • When you open the Page to edit, you will see this EXPECTED_PAGE_TAG error and the areas not rendered correctly. See screenshot11. 

      Expected results

      Not to see this error when I edit page in the Pages app.

      Actual results

      Error shown in screenshot11. There is an error message and no green bars for areas available.

      Workaround

      None that I could find.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              lstaniorski Leah Staniorski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD