[
http://jira.jboss.com/jira/browse/BPEL-289?page=all ]
Alejandro Guizar resolved BPEL-289.
-----------------------------------
Resolution: Done
RepeatUntil is no longer implemented as a special case of While, but as a separate class.
Both While and RepeatUntil now have RepetitiveActivity as their superclass which factors
out the common behavior. This class will be the base for the ForEach activity.
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