[MAGNOLIA-5754] CLONE - page editor, rendering: Previewing a page excluded on a given channel should display a nicer message instead of 404 servlet container page Created: 25/Apr/14  Updated: 14/May/14  Resolved: 08/May/14

Status: Closed
Project: Magnolia
Component/s: bundle, page editor
Affects Version/s: None
Fix Version/s: 5.2.5

Type: Improvement Priority: Major
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: support, ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-4043 page editor, rendering: Previewing a ... Closed
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)

 Description   

Steps to reproduce the issue on stk demo-project (author):

  • go to about page
  • open properties->Output Channels tab and exclude the desktop channel from serving the current page
  • switch to desktop preview

The servlet container default 404 error page is shown which is fine if you're on a public instance but on the author looks more like a bug and force editors to use the browser's back button to go back to Magnolia.
The same thing happens of course for smartphone and tablet channels but in that case it looks less like a Magnolia bug as the 404 page is displayed inside the mobile preview iframe and one can use esc key to go back to the authoring mode.



 Comments   
Comment by Christoph Meier [ 08/May/14 ]

Comitted onto branch "MAGNOLIA-5754_5xx".
(See https://git.magnolia-cms.com/gitweb/?p=magnolia_main.git;a=commit;h=d56296601c768c77add019e19ac4d3e472892d95 )

Comment by Christoph Meier [ 08/May/14 ]

missing commits

Comment by Christoph Meier [ 08/May/14 ]

2nd commit to ce-bundle (error-page and adapted web.xml); branch name is also "MAGNOLIA-5754_5xx".
(See https://git.magnolia-cms.com/gitweb/?p=ce-bundle.git;a=commit;h=7ca3aa476d4c227539f489e94e3f7f306fddb660 )

Generated at Mon Feb 12 04:08:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.