Issue Number | 747 |
---|---|
Summary | [Alerts] Alerts for new reviews for Board managers not working |
Created | 2023-03-13 10:54:22 |
Issue Type | Bug |
Submitted By | Shields, Victoria (NIH/NCI) [E] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2023-04-21 10:43:38 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/oceebms/issue.340748 |
In the Board manager role in the Alerts section, the count for newly submitted reviews is not working. The number of new reviews does not increase when new reviews are submitted from Board members and it does not decrease when the Board manager opens newly submitted summaries.
Did this work for UAT?
Yes, this worked during testing. We tested the alerts features quite a bit because users often reported that it didn't work, but once they were careful to go in as themselves (i.e., the manager for a specific group), they worked. I tested this on dev because I don't have any new reviews, but others who have received responses have reported that it is not working for them.
I was only able to reproduce part of what this ticket reported. I
went all the way back to the original version of the code for viewing a
reviewed packet, and in no versions of that code was the
last_seen
field updated when the board manager viewed the
packet. So that bug has always been present in the Drupal 9 EBMS, and
it's fixed now on https://ebms.rksystems.com and on
https://ebms-dev.nci.nih.gov.
The other problem (alert count for new reviews not going up on the board
manager's home page when board members post new reviews) I am unable to
reproduce. Here's what I did (on https://ebms.rksystems.com since
I can't log on as the board manager of any of the boards on the
CBIIT-hosted servers):
logged on as Victoria Shields
created a new packet, with 2 articles, assigned to Ari Seifter and Valerie Lee
checked the home page, noting that it said "59 new reviews"
logged on as Ari Seifter
reviewed one of the articles in the new packet
logged on as Victoria Shields
checked the home page, noting that it said "60 new reviews"
logged on as Ari Seifter
reviewed the other article in the new packet
logged on as Victoria Shields
checked the home page, noting that it said "61 new reviews"
visited theĀ Reviewed Packets page
noted that the new packet showed two new reviews
checked the home page, which still said "61 new reviews"
opened the new packet from theĀ Reviewed Packets page
opened the Reviewed Packets page
confirmed that it no longer shows "2 new"
returned to the home page
confirmed that the alerts show "59 new reviews"
If you're still seeing different behavior on either of those servers, let's do another screen-sharing session.
Verified on DEV.
This was inadvertently added to QA verified but hasn't been verified on that tier yet. I'm not able to move it back to the DONE column so adding a comment instead.
Verified on QA.
I haven't received any reviews yet, but other Board managers have reported that the alerts number is changing as article reviews are submitted and opened. Verified on PROD.
Elapsed: 0:00:00.000737