Issue 17413: Write with handle_nil underspecified (data-distribution-rtf) Source: Remedy IT (Mr. Johnny Willemsen, jwillemsen(at)remedy.nl) Nature: Clarification Severity: Minor Summary: For write the DDS spec says: The special value HANDLE_NIL can be used for the parameter handle. This indicates that the identity of the instance should be automatically deduced from the instance_data (by means of the key). The case which is not specified is the case where the handle is HANDLE_NUL, but they key we use hasn't been registered with dds yet, will DDS than return an error, or automatically register a new instance? Resolution: Revised Text: Actions taken: June 8, 2012: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 08 Jun 2012 02:42:05 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Johnny Willemsen Employer: Remedy IT mailFrom: jwillemsen@remedy.nl Terms_Agreement: I agree Specification: DDS Section: 7.1.2.4.2.11 FormalNumber: 07-01-01 Version: 1.2 Doc_Year: 2007 Doc_Month: January Doc_Day: 01 Page: 55 Title: Write with handle_nil underspecified Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Description: For write the DDS spec says: The special value HANDLE_NIL can be used for the parameter handle. This indicates that the identity of the instance should be automatically deduced from the instance_data (by means of the key). The case which is not specified is the case where the handle is HANDLE_NUL, but they key we use hasn't been registered with dds yet, will DDS than return an error, or automatically register a new instance? Date: Fri, 09 Nov 2012 14:01:54 -0600 From: Adam Mitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 To: data-distribution-rtf@omg.org Subject: [Issue 17413] Write with handle_nil underspecified X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ociweb.com X-Spam-Status: No, hits=-101.6 tagged_above=-300.0 required=2.0 tests=BAYES_00, USER_IN_WHITELIST X-Spam-Level: While I was reading the DDS spec to look up something unrelated, I remembered that there was this issue (#17413). In another section of the spec, the supposedly-underspecified item is actually specified. To address the issue, the point should be clarified in the section for the write() method. 7.1.3.21 WRITER_DATA_LIFECYCLE [...] data-instances that have been either explicitly registered with the DataWriter using the register operations (see Section 7.1.2.4.2.5 and Section 7.1.2.4.2.6) or implicitly by directly writing the data (see Section 7.1.2.4.2.11 and Section 7.1.2.4.2.12). Thanks, Adam Mitz Senior Software Engineer Object Computing, Inc.