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.


    • 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:
    • Environment:

      eZ Platform EE v2.1.0
      LegacyBridge v2.0.4


      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.

      You will be notified of the exception:

      Fatal error: A database transaction in eZ Publish failed.

      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


          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 ]
          Peter Keung added a comment -
          Peter Keung added a comment - Pull request: https://github.com/ezsystems/ezpublish-legacy/pull/1417
          André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-legacy/commit/177bbb89ef0bc2acec98c1dd28e7177c4315933c (2017.12, 2018.09, master)
          André Rømcke made changes -
          Status InputQ [ 10001 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          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


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


              • Created: