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

          Stéphane Diot created issue -
          Stéphane Diot made changes -
          Field Original Value New Value
          Link This issue relates to EZP-24993 [ EZP-24993 ]
          Damien Pobel (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Damien Pobel (Inactive) made changes -
          Status Confirmed [ 10037 ] Backlog [ 10000 ]
          Paulo Nunes (Inactive) made changes -
          Labels 6.0Certification QA
          Stéphane Diot made changes -
          Assignee Stéphane Diot [ stephane.diot@ez.no ]
          Stéphane Diot made changes -
          Status Backlog [ 10000 ] Development [ 3 ]
          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
          Stéphane Diot made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Stéphane Diot made changes -
          Assignee Stéphane Diot [ stephane.diot@ez.no ]
          Status Development Review [ 10006 ] Closed [ 6 ]
          Resolution Invalid [ 6 ]
          Hide
          Stéphane Diot added a comment -
          Show
          Stéphane Diot added a comment - see https://jira.ez.no/browse/EZP-25092
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96783 ] EZEE Development Workflow [ 125329 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          6m 40s 1 damien.pobel@ez.no 27/Nov/15 3:12 PM
          Confirmed Confirmed Backlog Backlog
          3s 1 damien.pobel@ez.no 27/Nov/15 3:12 PM
          Backlog Backlog Development Development
          1h 8m 1 Stéphane Diot 27/Nov/15 4:20 PM
          Development Development Development Review Development Review
          1h 52m 1 Stéphane Diot 27/Nov/15 6:13 PM
          Development Review Development Review Closed Closed
          29s 1 Stéphane Diot 27/Nov/15 6:13 PM

            People

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

              Dates

              • Created:
                Updated:
                Resolved: