Details
-
Improvement
-
Resolution: Duplicate
-
Neutral
-
None
-
6.2.29
-
None
-
None
Description
When the ContentMap class is used for retrieve a REFERENCE property as jcr:predecessor it will fail because the get method won't consider it as multivalue.
It would be better to include at the else if (type == PropertyType.REFERENCE) statement another check like "if (prop.isMultiple())" so for those cases like jcr:predecessors, it won't thrown error as:
jcr:predecessors is a multi-valued property, so it's values can only be retrieved as an array
Checklists
Acceptance criteria
Attachments
Issue Links
- duplicates
-
MAGNOLIA-8834 ContentMap doesn't consider the possibility that some reference options are arrays
-
- Closed
-
1.
|
Implementation |
|
To Do | Unassigned |
2.
|
Review |
|
To Do | Unassigned |
3.
|
Pre-Integration QA |
|
To Do | Unassigned |
4.
|
QA |
|
To Do | Unassigned |