Bug 768132 - Web Designer ScriptLanguage unclear how to specify Java; MVEL throws exeption
Summary: Web Designer ScriptLanguage unclear how to specify Java; MVEL throws exeption
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Mac OS
unspecified
unspecified
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 20:48 UTC by Jeff DeLong
Modified: 2021-04-09 12:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-3474 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.