Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5852

window.ibexa is accessible pre-login

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce

      1. Install Ibexa DXP v4
      2. go to /admin/log as an anonymous user

       

      Result

      From the error page we can grab data from window.ibexa, and in the dev console error is occurs:

      ibexa-admin-ui-layout-js.js:2 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
          at new e (ibexa-admin-ui-layout-js.js:2:5616534)
          at ibexa-admin-ui-layout-js.js:2:5567586
          at 552 (ibexa-admin-ui-layout-js.js:2:5567647)
          at o (runtime.js:1:128)
          at a (ibexa-admin-ui-layout-js.js:2:5780573)
          at ibexa-admin-ui-layout-js.js:2:5780866
          at e (runtime.js:1:1042)
          at ibexa-admin-ui-layout-js.js:2:43 

      Expected

      This data is not necessary on the error page for the not logged-in user, so it should not be here.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: