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

State limitation on Versionread or Publish causes exception when creating items

    XMLWordPrintable

    Details

      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:

      1. Log in to admin panel as this user.
      2. Go to Content / Content strucutre.
      3. 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

        1. EZP-31002.png
          EZP-31002.png
          80 kB
        2. EZP-31002 2.png
          EZP-31002 2.png
          231 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              michal.szoltysek@ez.no Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: