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

ScriptingOperationImpl should give access to the AutomationContext

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2
    • Fix Version/s: 7.3
    • Component/s: Automation
    • Tags:
    • Upgrade notes:
      Hide

      Since FT 7.3, the JavaScript main run function has been updated.

      In FT 7.2: function run(ctx, input, params)
      In FT 7.3: function run(input, params)

      ctx is of course available for usage in function.

      Show
      Since FT 7.3, the JavaScript main run function has been updated. In FT 7.2: function run(ctx, input, params) In FT 7.3: function run(input, params) ctx is of course available for usage in function.
    • Sprint:
      TGV 7.2-5
    • Story Points:
      5

      Description

      Currently the ScriptingOperationImpl context is initialized from the AutomationContext but lacks some useful member variables :

      • the principal
      • the coreSession

      More problematically : the references is not maintained so changes inside the AutomationContext done by one operation are not visible by the others.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: