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

User is logged out after first (multi)upload with ezfind

    XMLWordPrintable

Details

    Description

      When uploading multiple images with ezmultipload, only the first image is uploaded, and the user gets logged out.

      The frontend seems to process all images, but only the first thumbnail is shown. Navigating to another page afterwards redirects to the login screen.

      Starting with the second AJAX request, the response has an additional Set-Cookie header:

      Set-Cookie:is_logged_in=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
      

      and returns the HTML User Login Page.

      UPDATE

      The first request overwrites the session cookie with a new value - I don't know why, but that seems to be the reason why the second request is not recognized as being logged in.

      UPDATE 2

      Found it: When eZ Find adds an object to the index, the session gets regenerated with a new session ID. I will create a pull request and reference it in a comment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgamez jgamez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 15 minutes
                1d 1h 15m