CDR Tickets

Issue Number 5198
Summary XMetal 17 freezes and crashes on documents without a version
Created 2023-02-01 10:26:04
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-02-01 12:00:53
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.337714
Description

XMetal 17 first freezes and eventually crashes when trying to view a document without a version. I ran into this problem while testing at about 10:00 am today. 

Repro steps

  1. Type Ctrl + q to bring up the CDR Search Window

  2. Select SupplementaryInfo under Document Type

  3. Click on the Search button

  4. Scroll down to CDR0000744350

  5. Click on Versions

CDR then appears to freeze for a while preventing you from proceeding and eventually crashes. 

Comment entered 2023-02-01 11:29:14 by Osei-Poku, William (NIH/NCI) [C]

It looks like the window warning the user that there are no versions to see for a particular document, gets hidden behind the CDR Search window. Moving the window reveals the Warning window and clicking the OK on the Warning window appears to resolve the problem. 

Comment entered 2023-02-01 12:00:53 by Kline, Bob (NIH/NCI) [C]

I have modified the code so that the flag to keep the search dialog on top is turned off while the "no versions" popup alert is shown, and then restore that flag after the alert popup window is dismissed. See if that doesn't eliminate the problem.

Comment entered 2023-02-01 16:21:44 by Osei-Poku, William (NIH/NCI) [C]

Looks good. Thanks!

Comment entered 2023-03-31 10:13:38 by Kline, Bob (NIH/NCI) [C]
Comment entered 2023-05-09 12:25:58 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA.

Comment entered 2023-06-01 11:51:54 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
version crashes.PNG 2023-02-01 10:24:42 Osei-Poku, William (NIH/NCI) [C]
version crashes hidden window.PNG 2023-02-01 11:29:02 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.002050