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

Error publishing an object with a filled ezselection field

    XMLWordPrintable

    Details

      Description

      This issue is a follows-up of EZP-25002

      Steps to reproduce

      -create one content type that has an ezselection fieldtype. Add at least one option to the options. Save the content type
      -Create one object of previous content type. Fill in the selection field
      -Publish

      When publishing, an error notification is raised: An error occurred while publishing the draft
      The field has the error Option with index 0 does not exist in the field definition

      The response is

      {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":400,"errorMessage":"Bad Request","errorDescription":"Content fields did not validate","errorDetails":{"fields":[{"_fieldTypeId":182,"errors":[{"type":"selection","message":"Option with index 0 does not exist in the field definition."}]}]}}}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: