[jboss-jira] [JBoss JIRA] Updated: (BPEL-289) repeatUntil should execute until the condition becomes true, *not* as long as the condition evaluates to true

Alejandro Guizar (JIRA) jira-events at lists.jboss.org
Mon Feb 4 22:29:04 EST 2008


     [ http://jira.jboss.com/jira/browse/BPEL-289?page=all ]

Alejandro Guizar updated BPEL-289:
----------------------------------

    Fix Version/s: jBPM BPEL 1.1.1

> repeatUntil should execute until the condition becomes true, *not* as long as the condition evaluates to true
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: BPEL-289
>                 URL: http://jira.jboss.com/jira/browse/BPEL-289
>             Project: JBoss jBPM BPEL
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Engine
>    Affects Versions: jBPM BPEL 1.1 GA
>            Reporter: Alejandro Guizar
>         Assigned To: Alejandro Guizar
>             Fix For: jBPM BPEL 1.1.1
>
>
> PROBLEM. Due to a misreading of the BPEL 2.0 specification text, the <repeatUntil> activity executed the contained activity as long as the condition evaluates to true. The described behavior corresponds to the description of the <while> activity. In the case of <repeatUntil>, the contained activity is to be executed until the condition becomes true. In other words, <repeatUntil> loops as long as the condition evaluates to *false*!
> PROPOSAL. Currently <repeatUntil> is implemented as a special case in the While class. The idea is to introduce a new RepeatUntil class that focuses on the requirements of <repeatUntil> element, apart from <while>. Of course, the new design should strive for reuse.

-- 
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