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

Fix server freeze evaluating MVEL expression with nested substatements

    XMLWordPrintable

    Details

      Description

      Some MVEL expressions take a very a long time to be executed, it seems expressions with nested substatements are parsed in a time exponential with respect to the number of substatements, for instance:

      (A && (B && (C && (D && (E && F)))))
      

      or

      (A ? B : (C ? D : (E ? F : (G ? H : (I ? J : K)))))
      

      A patch has been submitted at http://jira.codehaus.org/browse/MVEL-301

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: