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

Rafał Żukowski (JIRA) jira-events at lists.jboss.org
Tue Apr 22 03:24:44 EDT 2008


     [ 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(&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...

  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(&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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list