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

Restore compatibility on automation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.2
    • Component/s: Automation
    • Tags:
    • Upgrade notes:
      Hide

      For backward compatibility with version prior to 9.1, you may want to inline the context in the scripting parameters by contributing the extension

      <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
      <property name="nuxeo.automation.scripting.inline-context-in-params">true</property>
      </extension>

      Show
      For backward compatibility with version prior to 9.1, you may want to inline the context in the scripting parameters by contributing the extension <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="nuxeo.automation.scripting.inline-context-in-params">true</property> </extension>
    • Sprint:
      nxSL Sprint 9.2.1

      Description

      Compatibility was broken for 9.1 (NXP-21508) for which only defined params on the contribution are extracted from the context to the `params` object when calling the operation.
      This broke salesforce plugin for instance.

      See https://github.com/nuxeo/nuxeo/blob/master/nuxeo-features/nuxeo-automation/nuxeo-automation-scripting/src/main/java/org/nuxeo/automation/scripting/internals/operation/ScriptingOperationTypeImpl.java#L86

      We do not want previously implemented chains to break, so we should add a nuxeo.conf flag for enabling old behaviour.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: