Details
-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.4.2
-
None
Description
Not sure exactly since when but info.magnolia.cms.core.AbstractContent#setNodeData(String name, Content value) changed its behavior and forces a property creation of type String, whereas setNodeData(String name, Object value) would create a "real" JCR reference.
Currently causing the forum to break (although I'll work around it easily) since its nodetypes enforces the use of jcr references.
Our string-based references are probably better off replaced with weak references (introduced in jcr 2.0), but to keep their support, we should then have explicit methods/doc to allow both string-based and "real" references to co-exist.
Checklists
Acceptance criteria