Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3482

References support is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 4.4.2
    • core
    • 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

        Attachments

          Activity

            People

              Unassigned Unassigned
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD