CDR Tickets

Issue Number 4838
Summary [General] Deleting CDR documents with links
Created 2020-06-02 19:56:28
Issue Type Task
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2020-10-01 11:40:39
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.263288
Description

I am trying to delete a few documents from the CDR but I am having issues identifying which documents are linked to them. The Delete CDR Documents tool reports that the documents have incoming links but the linked doc report shows that no documents are linked to the documents I am trying to delete. Could you please look into this?

 

 

Comment entered 2020-06-03 16:46:32 by Kline, Bob (NIH/NCI) [C]

This is a bug in the document deletion command, which is clearing out the query term tables correctly, but apparently not the link_net table. Assigning this to Maxwell.

Comment entered 2020-09-14 13:17:10 by Kline, Bob (NIH/NCI) [C]

Fixed on DEV.

Comment entered 2020-09-30 18:34:06 by Osei-Poku, William (NIH/NCI) [C]

This is working on DEV now. Thanks! However, I realized that, when you attempt to delete the same document multiple times, you're not prompted that it has been deleted already. You always get the notification that it has successfully been deleted. Could you please fix this so that when there is a subsequent attempt to delete the same document, you're notified that it had been deleted already? It is the same with the Restore CDR Document tool.

Comment entered 2020-10-01 11:40:39 by Kline, Bob (NIH/NCI) [C]

New requirement implemented on DEV.

Comment entered 2020-10-01 12:28:52 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thank!

Comment entered 2020-11-16 17:47:55 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2020-12-09 12:02:53 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
delete cdr documents.PNG 2020-06-02 19:56:08 Osei-Poku, William (NIH/NCI) [C]
linked doc report.PNG 2020-06-02 19:56:08 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001385