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

Removing CI chosen in subtree policy limitation causes error 500

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 3.0.0-beta1, 2.5.3
    • None

    Description

      Preconditions:

      An article is created.

      Steps:

      1. Go to Admin/Roles/Editor
      2. Add a policy, for example Content/Remove
      3. Add a limitation: subtree and choose article from preconditions and confirm
      4. go to Content/Content structure and send to trash the article from preconditions.
      5. Go back to Admin/Roles/Editor (you can see that limitations now says: Subtree of Location: /eZ Platform instead of /eZ Platform/New article as it was before) and click edit button next to Content/Remove

      Actual result:

      There is an error: `An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier '64'").` in dev mode. Prod mode works quite fine - edit mode of policy is opened, but chosen limitation in subtree is empty.

      Expected result:

      Edit mode of policy is opened.

      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: