CDR Tickets

Issue Number 3784
Summary [Supplementary Docs] Vague Error Message
Created 2014-07-17 10:31:12
Issue Type Bug
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2014-11-05 18:19:23
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.135131
Description

Bonnie is getting the attached error message periodically when she tries to save a new supplementary document. She is unable to save the document.

Comment entered 2014-08-06 12:23:46 by Englisch, Volker (NIH/NCI) [C]

I've talked to Bonnie. She will try to grab me next time this happens and/or write down the time when this happens so we may search the log files for errors.

Comment entered 2014-10-30 14:54:12 by Osei-Poku, William (NIH/NCI) [C]

I was able to reproduce this error on DEV by opening a PDF file (to read) and attempted to attach it to a new supplementary info. document in the CDR (while the PDF file was still open).

After closing the PDF file, I was able to attach it to the CDR document without any error. The CDR ID of the test document is (CDR0000759322) on DEV.

Comment entered 2014-10-30 14:58:54 by Englisch, Volker (NIH/NCI) [C]

Excellent!!!
Thank you for the info, William. That will help a lot.

Comment entered 2014-11-05 17:43:00 by Kline, Bob (NIH/NCI) [C]

I have found a way to avoid this problem. I'll put it on DEV so you can test, and if your testing is successful, we can fold this into 3.3.

Comment entered 2014-11-05 18:19:23 by Kline, Bob (NIH/NCI) [C]

Fixed on DEV. I changed two things:

  1. Removed the requirement that the DLL have exclusive access to the file.

  2. Added a check with a non-empty error message if the file open operation fails for some other reason.

Please test.

Comment entered 2014-11-06 13:13:00 by Osei-Poku, William (NIH/NCI) [C]

It worked. I didn't get any error message even with the document open.

Comment entered 2015-02-16 09:39:10 by Osei-Poku, William (NIH/NCI) [C]

I couldn't test this with a .pdf file since adobe reader isn't installed on Stage. But I tested with MS word and there were no errors.

Comment entered 2015-02-19 12:16:42 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD.

Attachments
File Name Posted User
CDR screen shot 7-17-14.doc 2014-07-17 10:31:12

Elapsed: 0:00:00.001769