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

Duplicate key in ezcontentobject_attribute when creating new draft with untranslatable field

    XMLWordPrintable

Details

    Description

      When creating new draft from content with a non translatable field, FieldHandler copies main language's SPI Field entry instead of translation's entry at https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/Persistence/Legacy/Content/FieldHandler.php#L189. The resulting sql query uses the wrong id.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bchoquet bchoquet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m