CDR Tickets

Issue Number 5193
Summary Retrieving Read Only Versions in XMetal 17
Created 2023-01-24 20:07:35
Issue Type Task
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-01-25 07:03:18
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.337152
Description

I am testing XMetal 17 on the VM and when I try to retrieve a previous/older version of a document, it does not appear to be working correctly. It seems to always retrieve the editable or checked out version instead of the read only version (when the Check Out option is selected).

Repro steps:

  1. Ctrl + Q to bring up search dialog box

  2. Search for any CDR document (I tried Summary and Person documents)

  3. Ensure that "Check Out" is selected  (I know that this selection is not needed when when retrieving a previous or older version but it usually has no effect)

  4. Click on the  "Versions" tab 

  5. Select any previous/older version

  6. Click "Retrieve" for the read only version

a. You should notice when you hover over the page title that the path is to the CheckOut folder even though what you retrieved is an older version

b. You should also notice that there is no "[RO]" in the title bar indicating that it is a read only version.

c. You should also notice that CDR Save icon has a bright blue display instead of being greyed out for read only documents. 

The behavior is slightly different if the "Check Out" option is not checked in the search window.  In this case, the path will correctly display the ReadOnly folder and a Version Number is also displayed but "[RO]" is missing. 

I am probably mistaken but it seems to me that even if I have the "Check Out" selected, it should not show the Check Out version. 

!/attachment/ocecdr_222299_Version number with Miss [RO] designation.PNG|width=373,height=202!

Comment entered 2023-01-25 07:03:18 by Kline, Bob (NIH/NCI) [C]

Fixed.

Comment entered 2023-01-25 12:01:20 by Osei-Poku, William (NIH/NCI) [C]

I am still able to check out older versions. That is, as long as the "Check Out" option is selected before clicking on "Retrieve" button. Please note Version 22 of the summary in the screenshot. The path points to the checkout folder and the CDR Save icon is bright blue and not greyed out. 

Comment entered 2023-01-25 12:19:41 by Kline, Bob (NIH/NCI) [C]

Sorry about that. Things have been crazy hectic all morning, with too many threads to keep track of properly. I hadn't yet installed the change on the DEV server. It's there now.

Comment entered 2023-03-07 11:04:24 by Kline, Bob (NIH/NCI) [C]
Comment entered 2023-03-21 17:49:26 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2023-05-09 12:23:27 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA.

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

Verified on PROD. Thanks!

Attachments
File Name Posted User
Older version checkout.PNG 2023-01-25 11:56:25 Osei-Poku, William (NIH/NCI) [C]
Read Only Version showing the bright Save Icon.PNG 2023-01-24 19:58:36 Osei-Poku, William (NIH/NCI) [C]
Version number with Miss [RO] designation.PNG 2023-01-24 19:59:33 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001945