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

Cookies not sent in UDW Requests for Content Types

    XMLWordPrintable

Details

    Description

      Currently, when the Universal Discovery Widget makes Requests for any of the Content Types (to URL like /api/ezp/v2/content/types/<id>), these Requests don't have Cookie header. This means that, for example, the Request is always done as an Anonymous user (because there is no "eZSESSID" cookie sent), which can cause other issues in some installations.
      This issue happens only on eZ Platform v2.
      There might also be other instances when the Cookie is not sent.

      Steps to reproduce

      1. Create new eZ Platform v2 installation.
      2. In Admin UI, go to "Content"/"Content structure".
      3. Click "Create" button and select "Article" Content Type.
      4. Open the browser's developer tools.
      5. Click inside "Intro" Field and then on "+" on the left. Select "Image". Universal Discovery Widget should pop up.
      6. Click on "Media" inside the UDW.
      7. In the "Network" tab of your browser's developer tools, there should be Request to /api/ezp/v2/content/types/1. Click on it and check the Request Headers. Cookie header won't be there (and it should be, containing at least "eZSESSID" cookie).

      Attachments

        Activity

          People

            Unassigned Unassigned
            jacek.foremski-obsolete@ez.no Jacek Foremski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: