Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1954

Optimize validation of MVEL expressions

    XMLWordPrintable

    Details

      Description

      Complex workflows are not efficiently validated, this should be optimized.

      Validation is very long since NXS-1895, where MVEL expressions validation was activated.

      In fact this is unefficient when:

      • using a lot of unary expression foo?bar:baz
      • using a lot of parentheses
      • looking up default variables "Document", for instance

      => let's:

      • add a variables bindings for efficient lookup of classes
      • disable validation on too complex expressions

        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 - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified