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

[LegacyBridge] Can't create the new user if user draft was saved.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 1.13.1, 2.0.2, 1.7.7
    • Fix Version/s: Customer request
    • Component/s: Legacy bridge
    • Labels:
      None
    • Environment:

      eZ Platform EE v2.1.0
      LegacyBridge v2.0.4

      Description

      The issue is reproducible only in the legacy BO.

      Steps to reproduce:

      1. Install eZ Platform with LegacyBridge
      2. Go to the legacy BO
      3. Go to the User Accounts tab, select any group and create the new user within
      4. In the User create view, don't fill all fields and click on "Store draft and exit"
      5. Go to the User Accounts tab again and try to create the new User within whichever group.

      Result:
      You will be notified of the exception:

      Fatal error: A database transaction in eZ Publish failed.
      

      Cause:
      The issue is caused by UNIQUE INDEX on login column in ezuser table introduced by: https://github.com/ezsystems/ezpublish-kernel/commit/bd257edd13760869891144d0d58d86828280eca1

        Issue Links

          Activity

          Kamil Madejski created issue -
          Kamil Madejski made changes -
          Field Original Value New Value
          Link This issue relates to CS-6738 [ CS-6738 ]
          Kamil Madejski made changes -
          Link This issue duplicates EZP-26594 [ EZP-26594 ]
          Kamil Madejski made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Kamil Madejski made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          André Rømcke made changes -
          Status InputQ [ 10001 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Kamil Madejski
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: