-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DocumentEntries get deprecateded after two "normal" uptades (ITI-57) in Registry simulator #591
Comments
As far as I can tell, my ITI-57 requests should not be the cause for this behaviour, i.e. they do no update the Availability Status. FWIW here is a set of requests, that caused the involuntary deprecation, though: |
Hi,
Can you provide the three Document Entries?
Thanks
From: patrick-peer ***@***.***>
Sent: Wednesday, August 2, 2023 7:43 AM
To: usnistgov/iheos-toolkit2 ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [usnistgov/iheos-toolkit2] DocumentEntries get deprecateded after two "normal" uptades (ITI-57) in Registry simulator (Issue #591)
When I update a Document Entry with ITI-57 in a Registry simulator everything works as expected: The registry contains two Document Entries with the same uniqueId, the old one with Availability Status Deprecated, and the new one with Availability Status Approved.
However, when I update the same Document Entry a second time, the Registry simulator contains three Document Entries, every single one having the Availability Status set to Deprecated.
-
Reply to this email directly, view it on GitHub<#591>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AE5GE5DJ2XR67VNJ23QZJELXTI4ODANCNFSM6AAAAAA3BEPS4M>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I have no software ready to query for deprecated Document Entries, nor do I know of a way how to extract them from the toolkit => I simply took screenshots of the results from the SimIndexInspector. I grouped the requests with the resulting changes in the registry (as screenshots) in folders in the attached Zip file [1]. The updated field is DocumentEntry.comments [2]. [1] involuntaryDeprecate.zip |
I found the problem in the Toolkit code. This problem was stemming from changes related to "Adding CP 1190-02 support (Update deprecated DE through RMU)." The code pulls all versions of registry objects with the same DocumentEntry UID but the method always returned only one entry version, in this case the deprecated version 1 not all versions. The fix will be to return correct list of registry objects. |
When I update a Document Entry with ITI-57 in a Registry simulator everything works as expected: The registry contains two Document Entries with the same uniqueId, the old one with Availability Status Deprecated, and the new one with Availability Status Approved.
However, when I update the same Document Entry a second time, the Registry simulator contains three Document Entries, every single one having the Availability Status set to Deprecated.
The text was updated successfully, but these errors were encountered: