Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.18
-
None
-
-
Empty show more show less
-
Yes
-
Nucleus 10
-
2
Description
When trying to include a multivalve field within a content editor block it fails when you try to save the content.
Steps to reproduce
- Go to demo author and open Resources app
- Edit content-editor/blocks/text.yaml file
- Include the snippet:
content-editor/blocks/text.yaml
[...] Rest of default block code assignedSegments: $type: jcrMultiValueField field: $type: comboBoxField datasource: $type: jcrDatasource workspace: website
- Save it and open the Stories app
- Create a new story and include a Set block
- On the new field included on step 3, select a page
- Try to save the story
- Check it fails
Expected results
The Story is saved successfully
Actual results
An exception is thrown (check attachments for full stack trace)
Dev notes
It only happens for the multiValue field, if you include another one, e.g, a multiField, it works:
content-editor/blocks/text.yaml
[...] Rest of default block code multi: i18n: true $type: jcrMultiField field: $type: compositeField properties: street: $type: textField city: i18n: true $type: textField
Checklists
Acceptance criteria
Attachments
1.
|
PR with a fix and tests |
|
Completed | Roman Kovařík |
2.
|
Code review & preint QA |
|
Completed | Adam Siska |
3.
|
QA |
|
Closed | Antonín Juran |
4.
|
Port to master (6.3) |
|
Completed | Sang Ngo Huu |
5.
|
QA on 6.3 |
|
Closed | Unassigned |