Details
-
Bug
-
Resolution: Done
-
High
-
1.9.0
-
Operating System: Debian 8
PHP Version: 5.6.30-0+deb8u1
Database and version: Mysql 5.5.54-0+deb8u1
Browser (and version): Firefox 52
Env: Prod
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
- relates to
-
EZP-25002 Unable to add more options to ezselection field type
- Closed
- links to