Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26076

Use native JS arrays for multivalued property in automation scripting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 9.10, 10.2
    • Fix Version/s: 10.10
    • Component/s: Automation

      Description

      Java arrays are incredibly cumbersome to manipulate in JS because of the fixed size.

      ex: something like input['dc:subjects'] returns a java array. Thus you can't use methods like indexOf, splice, push ...

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: