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