[jboss-jira] [JBoss JIRA] (GPD-205) Designer adds script tag without expression
Koen Aers (JIRA)
issues at jboss.org
Mon Sep 5 11:05:00 EDT 2016
[ https://issues.jboss.org/browse/GPD-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koen Aers resolved GPD-205.
---------------------------
Resolution: Out of Date
> Designer adds script tag without expression
> -------------------------------------------
>
> Key: GPD-205
> URL: https://issues.jboss.org/browse/GPD-205
> Project: jBPM GPD
> Issue Type: Bug
> Components: jpdl
> Reporter: Rafal Zukowski
> Assignee: Koen Aers
> Fix For: jBPM jPDL Designer 3.x
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list