[
http://jira.jboss.com/jira/browse/JBPM-1064?page=all ]
Ronald van Kuijk resolved JBPM-1064.
------------------------------------
Resolution: Rejected
In EL, it is not allowed to have hyphens in names, just like it is not allowed in java
names. So it is processed as a mathematical expression where the hyphen is treated as a
minus.
mail nodes cannot resolve variables with hyphenated names
---------------------------------------------------------
Key: JBPM-1064
URL:
http://jira.jboss.com/jira/browse/JBPM-1064
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2.1
Environment: mac osx tiger, tomcat 5.0.28, mysql 5.0.37, eclipse 3.3.0, JBoss
JBPM JPDL Designer 3.1.0 CR1
Reporter: Ross McDonald
Assigned To: Tom Baeyens
In subject and text fields in mail nodes, at runtime, variables with names like
'my-variable' are not resolved, instead a '0' is displayed. Changing this
variable to be 'myVariable' instead resolves it correctly.
I would guess the problem lies maybe in org.jbpm.mail.Mail perhaps around the
'evaluate' method.
Unfortunately I am working close to a deadline at the moment and do not have time to fix
this, so I am changing my variable names.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira