Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.0.0, 3.1.0, 2.5.13
-
None
Description
STR:
1) Render richtext field in pagelayout (for example, in footer).
2) Put embed image in the richtext field.
3) Open valid URL to verify anonymous has access to the image.
3) Open some 404 URL
AR:
500 error returned after max nested level reached
ER:
404 Page properly displayed
Developer notes:
It's because there is no firewall for 404 page, and there is no token in token storage service.
So, it threw "AuthenticationCredentialsNotFoundException".
Subrequest tries to render an error page, which extends pagelayout, which tries to render the same richtext field, and it leads to an infinitive loop.
PR: https://github.com/ezsystems/ezplatform-richtext/pull/162