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

ezuser_setting entry should be deleted with ezuser entry

    XMLWordPrintable

Details

    Description

      Seen on 5.1 but current doctrine implementation does not seem to be fixed.

      see https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/Persistence/Legacy/User/Gateway/DoctrineDatabase.php

      When creating a user, a row is inserted in the ezuser_setting table as well. However, this row is not deleted when deleting the user.

      This leads to SQL duplicate key errors when you later try to create a new user which happens to have the same id as a previous user.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bchoquet Benjamin Choquet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: