Details
-
Bug
-
Resolution: Done
-
High
-
2.5.9, 3.0.0-beta5
Description
State limitation on Content/Versionread or Content/Publish policy causes exception when creating items.
Prereq.: Create an editor user assigned to a role with policies like on attachment. The key is that a state limitation is set on either Versionread policy or Publish policy.
Steps:
- Log in to admin panel as this user.
- Go to Content / Content strucutre.
- Click Create and choose some Content Type.
Actual result: Error 500 occurs
An exception has been thrown during the rendering of a template ("Property 'mainLocationId' not found on class 'eZ\Publish\Core\Repository\Values\Content\ContentCreateStruct'").
Attachments
Issue Links
- discovered while testing
-
EZP-30827 Introduce strict types for ObjectStateService
- Closed