Bug 768132

Summary: Web Designer ScriptLanguage unclear how to specify Java; MVEL throws exeption
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jeff DeLong <jdelong>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: rzhang
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff DeLong 2011-12-15 20:48:47 UTC
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.

Comment 1 Tihomir Surdilovic 2012-01-03 04:10:41 UTC
Completed (see https://issues.jboss.org/browse/JBPM-3474). Will be available in designer version 2.1

Comment 2 Ryan Zhang 2012-01-09 10:07:24 UTC
BRMS 5.3 ER2 still contains designer 2.0. So this fix probably is not included in
ER2.