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

Ezobjectrelationlist ignores allowed content types when creating content via UDW

    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.

        Activity

        Show
        Konrad Oboza added a comment - PR: https://github.com/ezsystems/ezplatform-admin-ui/pull/679
        Hide
        Michał Szołtysek added a comment -

        QA Approved on eZ Platform v2.2.3 with patches for EZP-29682 & EZP-29660.

        Show
        Michał Szołtysek added a comment - QA Approved on eZ Platform v2.2.3 with patches for EZP-29682 & EZP-29660 .
        Show
        Konrad Oboza added a comment - PR merged: https://github.com/ezsystems/ezplatform-admin-ui/commit/c307850ea0682b52e2b75562fff69c6cd29e95ab

          People

          • Assignee:
            Unassigned
            Reporter:
            Konrad Oboza
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: