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

Retrieving variable with null value failed in scripts

    XMLWordPrintable

Details

    Description

      setting a variable with a null value in context cause the application to fail while trying to retrieve it from a (Groovy) Script :
      Caused by: groovy.lang.MissingPropertyException: No such property: XXX

      The bug is related to the EnvironmentBindings class :
      'containsKey(Object key)' method makes use of the method 'get(Object key)' to determine if a Variable exists, but 'get(Object key)' returns the value of the key...

      Regards

      Attachments

        Activity

          People

            Unassigned Unassigned
            will31400 William Ferreira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: