Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2587

Configuration parameter for treating reference to non existing variables in EL

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Runtime Engine
    • Documentation (Ref Guide, User Guide, etc.)

      During creating and testing your jPDL processes it will be great feature having ability to tell jBPM:
      "When process evaluating EL and accessing variable does not exists RAISE EXCEPTION"

      Advantages:

      • Your process fail in place where is problem (e.g. you misspell variable name)
      • Faster error finding, because of break early

      I propose to make configuration variable for this option, because of back compatibility, but in future it should be default.

      Now jBPM returns null if we evaluate non existsing variable, which is error prone.

              Unassigned Unassigned
              wkoziej_jira Wojtas Koziej (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: