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

Ezobjectrelationlist ignores allowed content types when creating content via UDW

    XMLWordPrintable

    Details

      Description

      The customer observed that there is a way to add a non-allowed content to ezobjectrelationlist.

      Steps to reproduce:

      1. Add "Content relation (multiples)" field to "Article" Content Type.
      2. Set "Allowed content types" to "Article" and "File".
      3. Create a new Article.
      4. Select a content in ezobjectrelationlist to open UDW.
      5. Select "create" tab and create content that is not among allowed content types (e.g. Folder).
      6. Publish it and confirm the selection.
      7. Publish the article.

      Result:
      Relation list ignored the fact that folder is not allowed and linked it.

      Note:
      In v1 there is a modal which says that content was created but couldn't be liked via relation list.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            konrad.oboza@ez.no Konrad Oboza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: