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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          3m 51s 1 Kamil Madejski 16/Apr/18 10:41 AM
          Confirmed Confirmed InputQ InputQ
          8s 1 Kamil Madejski 16/Apr/18 10:41 AM
          InputQ InputQ Closed Closed
          329d 7h 13m 1 André Rømcke 11/Mar/19 4:54 PM

            People

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

              Dates

              • Created:
                Updated:
                Resolved: