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.