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

Unable to edit a node

    XMLWordPrintable

Details

    Description

      When I try save one of the nodes after editing it, I get the following error message :

      Fatal error: A database transaction in eZ Publish failed.

      The current execution was stopped to prevent further problems.
      You should contact the System Administrator of this site with the information on this page.
      The current transaction ID is TRANSID-6d10598c28594afe3a858a145cd24222 and has been logged.
      Please include the transaction ID and the current URL when contacting the system administrator.

      In the log the following lines are added :

      [ Mar 17 2008 22:40:34 ] [127.0.0.1] eZMySQLiDB:
      Query error: Duplicate entry '38-1449fa4b0d185fbb324f27d716f04d18' for key 1. Query: UPDATE ezurlalias_ml SET parent = 38
      WHERE parent = 36
      [ Mar 17 2008 22:40:34 ] [127.0.0.1] eZDBInterface::commit TRANSID-6d10598c28594afe3a858a145cd24222:
      Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-6d10598c28594afe3a858a145cd24222.

      The other nodes can be edited.

      The problem seems to be related to the file kernel/classes/ezurlaliasml.php on line 660. This type of conflict is not handled.

      Steps to reproduce

      The issue is reproducible on newest trunk (rev 22792) and 4.0.1.

      On a clean installation do:
      1. Add two new languages (this example uses Norwegian and Japanese).
      2. Create a folder, "Root folder".
      3. Translate "Root folder" into Norwegian.
      4. Create a child node of "Root folder".
      5. Rename "Root folder" in Norwegian and publish.
      6. Rename "Root folder" again in Norwegian and publish.
      7. Translate child into Japanese.
      8. Rename "Root folder" in the main language.

      Attachments

        Activity

          People

            oms Ole Marius Smestad
            jmfontaine jmfontaine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: