-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10
-
Fix Version/s: 8.10-HF44, 9.10-HF30, 10.10-HF05, 11.1, 2021.0
-
Component/s: Automation
Invoking Document.RemoveItemFromListProperty on a multi-valued string property throws:
Caused by: java.lang.ClassCastException: org.nuxeo.ecm.core.api.model.impl.ArrayProperty cannot be cast to org.nuxeo.ecm.core.api.model.impl.ListProperty at org.nuxeo.ecm.automation.core.operations.document.RemoveItemFromListProperty.run(RemoveItemFromListProperty.java:94)
Requesting to fix the operation so that the ClassCastException does not occur.