EBMS Tickets

Issue Number 34
Summary [Full Citation] Entering Bd Member Responses - Wiping out Previous Response
Created 2013-09-17 10:28:44
Issue Type Improvement
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2013-12-24 12:32:00
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.113321
Description

TIR #2498 entered 2013-04-15 by Robin Juthe

In testing TIR 2267 on QA, we noticed that we are able to enter a decision for a Board member who already responded, but this second decision replaces the earlier decision. This is good from the perspective of correcting mistakes, but bad from the perspective of losing history of decisions about the article. We thought it may help to either have a pop-up box ask if you really want to replace the Board member's first response OR for the second response for the same Board member to inactivate his/her earlier response.

Comment entered 2013-11-07 11:48:05 by Kline, Bob (NIH/NCI) [C]

We're pretty sure no decision history is lost. One of us would be able to provide an ad-hoc report of what the replaced decisions were for one or more articles. Is this sufficient, or would it be necessary to implement a user interface for access to those overridden decisions? LOE estimate is for implementing such a user interface.

Comment entered 2013-12-24 07:46:53 by Kline, Bob (NIH/NCI) [C]

Added Robin as a watcher so she'll see the question posted in November.

Comment entered 2013-12-24 11:37:46 by Kline, Bob (NIH/NCI) [C]

I looked more carefully at this issue, and discussed it further with Alan. Both of us have a vague recollection of the discussion which resulted in the comment I posted on November 7, but we have now come to the conclusion that the comment was not right: when you edit a board member's review of an article, you are replacing what the board member originally submitted. I will proceed with the attempt to add the popup originally requested for this ticket. If I am unsuccessful (this page is controlled by an extraordinarily complex code file), I will fall back on putting a warning on the form.

Comment entered 2013-12-24 12:32:00 by Kline, Bob (NIH/NCI) [C]

I looked carefully at the code for the full citation page, and I have come to the conclusion that it is not feasible to detect in Javascript whether the review about to be stored will replace an existing review, without a significant amount of work beyond the original estimate for this task, and I'm not sure the result would be reliably safe. I have instead put a prominent warning on the form. An alternate approach would be to add a checkbox labeled something like "Replace any existing reviews by the selected board member" and prevent the action in the PHP code if a review would be replaced and the box isn't checked. Let me know if you want to go down that path.

Comment entered 2013-12-24 12:32:32 by Kline, Bob (NIH/NCI) [C]

Erika:

Added you as a watcher so you can pull this into iteration 3.

Comment entered 2013-12-26 09:41:14 by Juthe, Robin (NIH/NCI) [E]

Bob, I like the warning text you added. I think this will suffice. Thank you.

Comment entered 2014-01-06 00:54:40 by Kline, Bob (NIH/NCI) [C]

Promoted to QA.

Comment entered 2014-01-06 11:03:46 by Sun, Victoria (NIH/NCI) [C] [X]

Bob - just a quick note, on QA in the message, the word "completely" is spelled "competely." Please correct, thanks!

Comment entered 2014-01-06 11:30:46 by Kline, Bob (NIH/NCI) [C]

Thanks for catching that, Victoria. Typo fixed on DEV, QA, and in Subversion.

Comment entered 2014-01-17 11:40:52 by Juthe, Robin (NIH/NCI) [E]

Would it be possible to tweak this wording? Bonnie found it confusing.

If you enter a review for an article that has already been recorded for the packet and reviewer combination you select, the original review will be completely replaced. Consider preserving information from the original review in the comment field.

Comment entered 2014-01-17 11:56:56 by Kline, Bob (NIH/NCI) [C]

Wording modified (DEV and QA).

Comment entered 2014-01-17 12:47:03 by Juthe, Robin (NIH/NCI) [E]

Verified on QA.

Comment entered 2014-03-07 14:56:37 by Juthe, Robin (NIH/NCI) [E]

Verified that the warning text is on prod. We haven't had an occasion to re-enter a Board member response, so we'll re-open this if we encounter any problems.

Elapsed: 0:00:00.000179