[jboss-jira] [JBoss JIRA] Commented: (GPD-205) Designer adds script tag without expression

Rafa? ?ukowski (JIRA) jira-events at lists.jboss.org
Fri Nov 6 12:05:05 EST 2009


    [ https://jira.jboss.org/jira/browse/GPD-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493588#action_12493588 ] 

Rafa? ?ukowski commented on GPD-205:
------------------------------------

Sorry, I don't know, I have new job now and I'm not working with jPDL anymore...


> Designer adds script tag without expression
> -------------------------------------------
>
>                 Key: GPD-205
>                 URL: https://jira.jboss.org/jira/browse/GPD-205
>             Project: jBPM GPD
>          Issue Type: Bug
>          Components: jpdl
>            Reporter: Rafa? ?ukowski
>            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(&quot;test&quot;);
> 				</expression>
> 			</script>
> 		</transition>
> what designer does:
> 		<transition to="end-state1">
> 			<script>
> 					System.out.println(&quot;test&quot;);
> 			</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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list