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

Error 500 after trying to edit Content Read policy when CI eZ Platform is hidden

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 2.1.0-rc1, 2.3.2, 2.4.0
    • None

    Description

      Steps:

      1. Log in as Admin
      2. Go to Content/Content structure and create a new Folder
      3. Go to eZ Platform Locations tab
      4. Mark it as hidden
      5. Go to Admin/Roles/Editor and edit the policies as below:

      • User/Login
      • Content/Versionread
      • Content/Create
      • Content/Read, Content type: Article, Subtree of Location: /eZ Platform/Folder

      6. Click edit button from Content/Read policy

      Actual result:

      There is an 500 error in dev mode: An exception has been thrown during the rendering of a template ("Location cannot be displayed as it is flagged as invisible.").
      For prod mode it looks like in attachment.

      Expected result:

      Shouldn't it be editable? If I was able to set this policy, why I am not able to undo it? Or at least maybe there could be some user friendly message what is going on.

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: