Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31868

Infinitive loop with embed on 404 page

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            9617ee47-cb27-4291-b8b8-676aa93a5338@accounts.ibexa.co Ivan Ternovtsiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: