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

Hidden default location in Relation List field type crashes Content Type editing

    Details

      Description

      For the Relation List field type users can define a default location where users will start browsing with the universal widget. This works fine, but if the location is hidden then the Content Type editing view crashes with the message:

      "Location cannot be displayed as it is flagged as invisible."
      

      Once the object is visible again, then editing works as expected again.

      Steps to reproduce:

      • Install clean eZ Platform (v2.4.2)
      • Create a folder in the content root with the title "Articles"
      • Edit "Article" content type and add relation field (Related Articles)
      • Set relation field default location to "Articles"
      • Hide "Articles" folder via UI
      • Edit "Article" content type
      • See error

        Activity

        Show
        Michał Szołtysek added a comment - PRs: https://github.com/ezsystems/ezplatform-admin-ui/pull/933 https://github.com/ezsystems/repository-forms/pull/286
        Hide
        Michał Szołtysek added a comment -

        QA Approved on eZ Platform EE v2.4.2 with diffs.

        Show
        Michał Szołtysek added a comment - QA Approved on eZ Platform EE v2.4.2 with diffs.
        Show
        Michał Szołtysek added a comment - Merged: 1.4: https://github.com/ezsystems/ezplatform-admin-ui/commit/118206b03237a7aedf51cd7bc2b81638bfd6756d 2.4: https://github.com/ezsystems/repository-forms/commit/b1c1696c74021d611483f90a88b005414d5ed810
        Hide
        Jani Tarvainen added a comment -

        Great. Thank you all!

        Show
        Jani Tarvainen added a comment - Great. Thank you all!

          People

          • Assignee:
            Unassigned
            Reporter:
            Jani Tarvainen
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: