[MAGNOLIA-6997] CLONE - OncePerRequestAbstractMgnlFilter must not be called twice (also in 5.5) Created: 31/Mar/17  Updated: 04/Mar/19

Status: Open
Project: Magnolia
Component/s: None
Affects Version/s: 5.5
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: marcel koch Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-5960 OncePerRequestAbstractMgnlFilter must... 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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Original title:
404 page on public defined in web.xml: Triggering a 404 will render an empty white page


Everything described behaves this way only on a public instance. On Author instances all works fine.

Description:
Defining in the web.xml not a static docroot page, but a real Magnolia page.
For example:

  <error-page>
    <error-code>404</error-code>
    <location>/demo-project/about.html</location>
  </error-page>

Calling a non existing page will return an empty white page (attention you must not be logged in!):
/demo-project/notExistingPage.html

Analysis:
It must be a problem of cache, most likely related to MAGNOLIA-5835

  • It works on 5.5 author
  • It works on 5.5 public when being logged in
  • It works on 5.5 public when adding a parameter
    /demo-project/notExistingPage.html?something
  • It is not working in 5.5 public when its is caching.

Also strange is:
Flushing the cache does not help.
No elements in cache, after request one element in cache, but the page is empty/blank.


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