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

Make automation expressions use common variable names and API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.3
    • Component/s: Automation

      Description

      Purpose of this issue is not to refactor automation expression and MVEL usage, but just add consistent behaviours with JSF EL so that users are less confused.

      Examples:

      • add an alias for the "Document" variable to "currentDocument"
      • same for "CurrentUser" vs "currentUser" in Nuxeo
      • add a getPropertyValue(xpath) API on document wrapper (vs getProperty, that does not have the same behaviour on the DocumentModel interface)

      Maybe more to add

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified