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

Can't save ContentType with RelationList which has selectionMethod from legacy

    Details

    • Sprint:
      [2.5] - Sprint 2

      Description

      RelationList's selectionMethod in legacy could be configured as one of six different options:

      1. Browse
      2. Drop-down list
      3. List with radio buttons
      4. List with checkboxes
      5. Multiple selection list
      6. Template based, multi
      7. Template based, single

      (ref: https://github.com/ezsystems/ezpublish-legacy/blob/master/design/standard/templates/class/datatype/edit/ezobjectrelationlist.tpl#L10)

      Nevertheless, new stack supports only two of them:

      1. Browse
      2. Dropdown

      (ref: https://github.com/ezsystems/ezpublish-kernel-ee/blame/5.4/eZ/Publish/Core/FieldType/RelationList/Type.php#L32)

      Even after migration from legacy, ContentType configuration stored in database still contains selectionMethod values from legacy. Both PlatformUI and AdminUI can't handle it properly what makes saving of ContentType impossible.

        Activity

        Show
        Kamil Madejski added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2518
        Hide
        Michał Szołtysek added a comment -

        QA Approved on v1.7.8, v1.13.4, v2.3.2, v2.4.0 with diff.

        Show
        Michał Szołtysek added a comment - QA Approved on v1.7.8, v1.13.4, v2.3.2, v2.4.0 with diff.
        Show
        Michał Szołtysek added a comment - Merged to 6.7: https://github.com/ezsystems/ezpublish-kernel/commit/0c27ba7f4742b025540a5de6b12dfa0b854fa317

          People

          • Assignee:
            Unassigned
            Reporter:
            Kamil Madejski
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile