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.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request
    • 2.1.0, 1.13.1, 2.0.2, 1.7.7
    • Legacy bridge
    • None
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: