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

Operation Document.AddPermission "users" field does not support passing a StringList

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3, 10.10
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Automation, Rest API
    • Backlog priority:
      800
    • Browser:
    • Upgrade notes:
      Hide

      Document.AddPermission operation use now StringList type for users field.

      Show
      Document.AddPermission operation use now StringList type for users field.

      Description

      Document.AddPermission uses the generic List<String> type for the "users" argument. When attempting to pass users via Studio automation chain, the parsing of users field fails.

      Instead of using List<String>, the "users" field type should be StringList (org.nuxeo.ecm.automation.core.util.StringList).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour
                  1d 1h