[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Issue - 137 - Making properties consistent with variable values
This issue has been added to the wsbpel issue list. The issues list is posted as a Technical Committee document to the OASIS WSBPEL TC pages on a regular basis. The current edition, as a TC document, is the most recent version of the document entitled in the "Issues" folder of the WSBPEL TC document list - the next posting as a TC document will include this issue. The list editor's working copy, which will normally include an issue when it is announced, is available at this constant URL.
Imagine a variable that contains a purchase order and the NumOrder
property which contains a count of how many orders are in the PO. Now
imagine that after the variable is set and the property initialized then
the variable is edited to change one PO into two. Now the NumOrder
property, still set to the value 1, will no longer have the correct
count of orders in the variable.
Submitter's proposal: 1) We should require that any time a variable's value is updated (e.g.
with assign) that the property alias for all the properties on the
variable should be re-run so the property values will be updated.
2) We should either ban assigning directly to properties or we should
specify that properties that are not LValues (e.g. resolve to a single
node in the underlying variable) are read-only and properties that are
LValues can be written to but the consequence of doing so is that the
node in the underlying variable is changed.
Changes: 15 Jul 2004 - new issue
To comment on this issue, please follow-up to this announcement on the wsbpel@lists.oasis-open.org list (replying to this message should automatically send your message to that list), or ensure the subject line as you send it starts "Issue - 137 - [anything]" or is a reply to such a message. If you want to formally propose a resolution, please start the subject line "Issue - 137 - Proposed resolution", without any Re: or similar.
To add a new issue, see the issues procedures document (but the address for new issue submission is the sender of this announcement).
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]