[
http://jira.jboss.com/jira/browse/GPD-205?page=all ]
Rafał Żukowski updated GPD-205:
-------------------------------
Description:
When You create transition and add "Script Action" to Actions in Properties,
You can write some script which will run every time the transition will be used.
Designer puts this text into <script> element, when jbpm expects script as a text
in <expression> element, not in <script> element.
sample correct xml:
<transition to="end-state1">
<script>
<expression>
System.out.println("test");
</expression>
</script>
</transition>
what designer does:
<transition to="end-state1">
<script>
System.out.println("test");
</script>
</transition>
I've made a patch to fix this problem, I'll attach it to this issue later...
was:
When You create transition and add "Script Action" to Actions in Properties,
You can write some script which will run every time the transition will be used.
Designer puts this text into <script> element, when jbpm expects script as a text
in <expression> element, not in <script> element.
I've made a patch to fix this problem, I'll attach it to this issue later...
Designer adds script tag without expression
-------------------------------------------
Key: GPD-205
URL:
http://jira.jboss.com/jira/browse/GPD-205
Project: JBoss jBPM GPD
Issue Type: Bug
Components: jpdl
Reporter: Rafał Żukowski
Assigned To: Koen Aers
Original Estimate: 4 minutes
Remaining Estimate: 4 minutes
When You create transition and add "Script Action" to Actions in Properties,
You can write some script which will run every time the transition will be used.
Designer puts this text into <script> element, when jbpm expects script as a text
in <expression> element, not in <script> element.
sample correct xml:
<transition to="end-state1">
<script>
<expression>
System.out.println("test");
</expression>
</script>
</transition>
what designer does:
<transition to="end-state1">
<script>
System.out.println("test");
</script>
</transition>
I've made a patch to fix this problem, I'll attach it to this issue later...
--
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