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

Web Designer ScriptLanguage unclear how to specify Java; MVEL throws exeption

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jBPM 5.3
    • jBPM 5.2
    • Designer
    • None

      Description of problem:

      I tired to use "java" as the Script Language in the Script Task, and saw an
      mvel exception on a Java constructor when I tried to build the package.

      Version-Release number of selected component (if applicable):

      dev6 designer.war

      How reproducible:

      Very

      Steps to Reproduce:
      1.Create simple process with a ScriptTask
      2.Add a script with a constructore
      3.Set the ScriptLanguage to java
      4.Save the process
      5.Build the package

      Actual results:

      MVEL error complaining about constructor in script.

      Expected results:

      Successful build

      Additional info:

      Setting Script Language to http://www.java.com/java works.

      It would be helpful if allowable script languages were chosen by the user from
      a list.

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: