-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Acceptance Criteria (Required on creation):
The JavaDocs for SpinJsonNode.elements() are not clear enough. See https://javadoc.io/doc/org.camunda.spin/camunda-spin-core/1.9.1/org/camunda/spin/json/SpinJsonNode.html#elements--
public abstract SpinList<SpinJsonNode> elements() Get this node as list. Returns: the list value of this node
It is not clear, that elements() returns a list of copies of the SpinJsonNode objects and that modifying the list will not update the original SpinJsonNode. See https://github.com/camunda/camunda-spin/blob/cf898059dd159fa82e58379188ec5bb2c2cbf73c/dataformat-json-jackson/src/main/java/org/camunda/spin/impl/json/jackson/JacksonJsonNode.java#L425
We will not release a new version of Spin for this fix immediately. The fixVersion field in this ticket will remain empty for now. The change will be included in the next release of Spin but today we cannot tell when that will be.