Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-534

Multi-Value Reference properties are not exposed to scripting the same way as single-value reference properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting JavaScript 2.0.2
    • Scripting
    • None

    Description

      If a node contains a multi-valued reference property, it is exposed to scripts as an array of UUID strings. For single-value reference properties the value is resolved to the referenced node. I'd expect the multi-value reference properties to be resolved the same way and exposed to scripting as an array of nodes.

      Attachments

        1. multival_refprops_lookup.diff
          2 kB
          edn
        2. SLING-534-fmeschbe.patch
          3 kB
          Felix Meschberger
        3. unit_test.diff
          2 kB
          edn

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              enorman Eric Norman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: