[CONTEDIT-296] MultiField is not working in block Created: 17/Dec/20  Updated: 09/Feb/21  Resolved: 19/Jan/21

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Bug Priority: Neutral
Reporter: Lam Nguyen Bao Assignee: Jorge Franco
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 10m
Time Spent: 1d 2h 10m
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by NPMCLI-250 Check the final changes for content e... Selected
is depended upon by NPMCLI-248 Restore block template with multifield Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Stories App Migration
Sprint: CM & OC 20
Story Points: 5

 Description   

Steps to reproduce

  1.  Provide multi field definition inside block:
    1. categories:
        $type: compositeField
        itemProvider:
          $type: currentItemProvider
        properties:
          field:
            $type: jcrMultiField
            field:
              $type: linkField
              datasource:
                $type: jcrDatasource
                workspace: category
  1.  Add a new story and block

Expected results

New block is added and works

Actual results

No block is added and there're no exception in log

Workaround

Development notes

propertyNameDecorator of ByIndexedChildNodes.Definition be expected to have default 

NoopNameDecorator.class but null is set. However, its value will present if getter method is used to get propertyNameDecorator



 Comments   
Comment by Jorge Franco [ 22/Dec/20 ]

Timebox for investigating

Generated at Mon Feb 12 00:19:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.