Issue 10549: Should "set" method called outside of writable CacheAccess throw exception? (data-distribution-rtf) Source: OCI (Mr. Donald Busch, busch_d(at)ociweb.com) Nature: Uncategorized Issue Severity: Summary: A set_<attribute> call on a DLRL object is only valid from within a writable CacheAccess. It seems that, if an application calls set_<attribute> on a DLRL object outside of a writable CacheAccess, then set_<attribute> should throw an exception -- probably a PreconditionNotMet exception. However, the spec doesn't indicate that an exception should be thrown in this case. It only mentions the case where the attribute is a key field in the non-default mapping (3.1.6.3.14) Resolution: Revised Text: Actions taken: December 22, 2006: received issue Discussion: End of Annotations:===== il-OSG: FD1ZpZ4VM1lwEM5XwCC0OmNC93Pzk.PVbFKEuHeszz2UYxtQGhNaRE7aN7OPeimOciQ4bDkxfTFK__mHBlrKFYFT9KioBq8_yVZtTp7q_yYyPLXcfeeD0Q6kE28rmtM8cEMtKs1mCV1ALtE- Date: Fri, 22 Dec 2006 16:54:37 -0600 From: Don Busch User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) To: issues@omg.org Subject: DDS 06-04-09, DLRL Issue: Should a "set" method called outside of a writable CacheAccess throw an exception? A set_ call on a DLRL object is only valid from within a writable CacheAccess. It seems that, if an application calls set_ on a DLRL object outside of a writable CacheAccess, then set_ should throw an exception -- probably a PreconditionNotMet exception. However, the spec doesn't indicate that an exception should be thrown in this case. It only mentions the case where the attribute is a key field in the non-default mapping (3.1.6.3.14) -Don Busch -- ---------------------------------------------------------------- Don Busch, Principal Software Engineer and Partner Object Computing, Inc. (OCI) http://www.ociweb.com http://www.theaceorb.com http://jacorb.ociweb.com "Never let what you can't do get in the way of what you can do." - John Wooden X-YMail-OSG: Fiqqv.gVM1nidpCr9_fsRj1F06jbUitziSsy3pjK7VexMiyEK4c3r.bsuazCuFSJejGYmT8Ex5N14tjPBICMw.w8kxWx.ZOVF2KA.ruPlUKY26epBEz8Xaatn7Se82kU1t2AApyo_u7gte8- Date: Wed, 09 May 2007 13:23:35 -0500 From: Don Busch User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) To: data-distribution-rtf@omg.org Subject: [Issue 10549] Add the following text to Section 8.1.6.3.14, in the ObjectRoot::set_attribute description: "The operation throws a PreconditionNotMet if the object is not in a writable CacheAccess" -- ---------------------------------------------------------------- Don Busch, Principal Software Engineer and Partner Object Computing, Inc. (OCI) http://www.ociweb.com http://www.theaceorb.com http://jacorb.ociweb.com "Never let what you can't do get in the way of what you can do." - John Wooden ---------------------------------------------------------------- ----------------------------------------------------------------