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

"Allowed content types" when defining a relation in a "relations list" fieldtype is not working

    Details

      Description

      After creating a content type with an relationList fieldtype with the "allowed content" restriction, when we create a content of this type, we can't fill any relations.

        Issue Links

          Activity

          Hide
          Stéphane Diot added a comment -

          So the problem comes from the selectionContentTypes from the fieldSettings of the fieldDefinition that is badly filled... Instead of having maybe the contentType identifier, it s having the list index of the content type when we have to choose allowed contents in the contentType creation for the field relationList.

          Show
          Stéphane Diot added a comment - So the problem comes from the selectionContentTypes from the fieldSettings of the fieldDefinition that is badly filled... Instead of having maybe the contentType identifier, it s having the list index of the content type when we have to choose allowed contents in the contentType creation for the field relationList.
          Hide
          Stéphane Diot added a comment -

          solved with https://github.com/ezsystems/repository-forms/pull/60
          you need your repositoryform up to date

          Show
          Stéphane Diot added a comment - solved with https://github.com/ezsystems/repository-forms/pull/60 you need your repositoryform up to date
          Hide
          Stéphane Diot added a comment -
          Show
          Stéphane Diot added a comment - see https://jira.ez.no/browse/EZP-25092

            People

            • Assignee:
              Unassigned
              Reporter:
              Stéphane Diot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: