Details
-
Bug
-
Resolution: Won't Fix
-
Neutral
-
None
-
6.2.13
-
None
Description
Steps to reproduce
- Edit https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:resources:edit;/mtk2/templates/pages/basic.ftl:edit (username/password: superuser) to include the following line:
${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.
- When you open this Page to view in a new tab, it does return the correct error code. See screenshot22. Same goes for 500 error code.
Ex. https://demoauthor.magnolia-cms.com/Test.html
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