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

Removing user's parent breaks forgot password functionality when e-mail is shared

    XMLWordPrintable

Details

    Description

      The customer observed that when there are multiple users sharing the same e-mail address removing one of them together with its' parent content object breaks "forgot password" functionality.

      Steps to reproduce:
      1. Create a folder test1 and a new user inside it (user1).
      2. Repeat the above step for test2/user2. TheĀ e-mail address must be the same as for user1.
      3. Send to trash either test1 or test2.
      4. Empty the trash.
      5. Go to your_host/admin/user/forgot-password
      6. Enter the e-mail that you set for both users.
      7. Hit "Reset".

      Result:
      You will be presented with a similar error:

      Could not find 'Content' with identifier 'array (
      'id' => '80',
      'languages' =>
      array (
      ),
      'versionNo' => NULL,
      )'
      

      Expected result:
      The password should be properly reset.

      Note:
      The issue isn't reproducible in 3.2.3. On 3.3.0 there is no possibility to assign one e-mail address to more than one user.

      Attachments

        Activity

          People

            Unassigned Unassigned
            konrad.oboza@ibexa.co Konrad Oboza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: