bcgov / bcgov/entity

Pending Review Requests on Dashboard - Affidavit and Information carries over from one request to another

Open
#15,562 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
While working on OPS ticket 2276, information for a request that I had recently viewed was being displayed when reviewing another pending review request. It seems to be carrying over information from one request and displaying it for other requests if that information is missing from the latter request.

**Link bug to the User Story**

**Impact of this bug**
Incorrect information and affidavit documents are displaying for Pending Review requests.

**Chance of Occurring (high/medium/low/very low)**
High

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
PROD

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Display the Pending Review tab in Account Management on the staff dashboard.
2. Click Review for PCI Audit (no information will display for Account Administrator and Notary Information, Affidavit will not download)
3. Go Back to the Staff Dashboard
4. Click Review for JENSCOLOUR (information will display for Account Administrator and Notary Information, Affidavit will download)
5. Go Back to the Staff Dashboard
6. Click Review for PCI Audit (information from JENSCOLOUR will display for Account Administrator and Notary Information, Affidavit for JENSCOLOUR will download)

**Actual/ observed behavior/ results**
Information from last reviewed entry will display on another request is any information is missing.

**Expected behavior**
Only information for the request being reviewed will display.

**Screenshots/ Visual Reference/ Source**
Initial Display of PCI Audit:

![image.png](https://images.zenhubusercontent.com/601b37c65322cfe9e09d47c2/7d3426f2-a0d5-4e4c-9653-b2604fe1b699)

Next is display of JENSCOLOUR:

![image.png](https://images.zenhubusercontent.com/601b37c65322cfe9e09d47c2/72b20268-fbd7-4201-9b1c-6017827b6ae0)

Then review PCI Audit again:

![image.png](https://images.zenhubusercontent.com/601b37c65322cfe9e09d47c2/4dff9749-8483-49bf-9298-b8b054447558)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.