Issue 10693: Clarify exceptions/usage for remove operation on List in section 3.1.6.3.16 (data-distribution-rtf) Source: PrismTech (Mr. Erik Hendriks, erik.hendriks(at)prismtech.com) Nature: Clarification Severity: Summary: Problem: The remove operation should do nothing if it did not contain an element with the specified key. The remove operation on the collection (list, strmap, intmap, but NOT set) should mention it raises a PreconditionNotMet if: - The owner ObjectRoot of the List is not contained within a (writeable) CacheAccess - The owner ObjectRoot has not yet been registered (i.e. has no identity) This should also be fixed in the IDL descriptions (normal and implied) In section 3.2.1.2 IDL description: For the List replace: void remove( ) ; With: void remove( ) raises (PreconditionNotMet);; For the StrMap valuetype: Replace: void remove( in string key ); With: void remove( in string key ) raises (PreconditionNotMet); For the IntMap valuetype: Replace: void remove( in long key ); With: void remove( in long key ) raises (PreconditionNotMet); Solution: TBD Resolution: Revised Text: Actions taken: February 12, 2007: received issue Discussion: Clarify exceptions and usage for the remove operation on the List in section 3.1.6.3.16 Also for the remove operation on the StrMap in section 3.1.6.3.18. Also for the remove operation on the IntMap in section 3.1.6.3.19. End of Annotations:===== s is issue # 10693 Clarify exceptions/usage for remove operation on List in section 3.1.6.3.16 Clarify exceptions and usage for the remove operation on the List in section 3.1.6.3.16 Also for the remove operation on the StrMap in section 3.1.6.3.18. Also for the remove operation on the IntMap in section 3.1.6.3.19. Problem: The remove operation should do nothing if it did not contain an element with the specified key. The remove operation on the collection (list, strmap, intmap, but NOT set) should mention it raises a PreconditionNotMet if: - The owner ObjectRoot of the List is not contained within a (writeable) CacheAccess - The owner ObjectRoot has not yet been registered (i.e. has no identity) This should also be fixed in the IDL descriptions (normal and implied) In section 3.2.1.2 IDL description: For the List replace: void remove( ) ; With: void remove( ) raises (PreconditionNotMet);; For the StrMap valuetype: Replace: void remove( in string key ); With: void remove( in string key ) raises (PreconditionNotMet); For the IntMap valuetype: Replace: void remove( in long key ); With: void remove( in long key ) raises (PreconditionNotMet); Solution: TBD