bcgov / bcgov/entity

Incorrect Output for SP DBA Change filing

Open
#14,989 0 comments 0 reactions 0 assignees View on GitHub
bug ENTITY - DO NOT USE Priority2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
When a DBA record is replaced with another record for an SP DBA change filing, the Change Application contains no DBA information.

**Link bug to the User Story**

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

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Log in as Staff in Test
2. Retrieve a SP DBA record
3. Complete a Change filing to replace the existing DBA with another DBA
4. The Change of Registration Application does not show any details about the DBA, or what action was performed

** Why is this happening? **

- [ ] When the Change filing is open, the is a DBA ID in place

- [ ] As the DBA is replaced with another one, the filing cannot find the original DBA ID and does not know how to generate the output

To Do List:
1. Correct the code so that the Change of Registration Application will display the following
- The initial DBA, with a label of "Removed"
- The new DBA with a label of "Added"

Correct:
![image.png](https://images.zenhubusercontent.com/62741a399202cf3570f9fd40/8cc2e5ce-7d2a-4b30-849c-396e52b61e7c)
Wrong:
![image.png](https://images.zenhubusercontent.com/62741a399202cf3570f9fd40/71b92865-4d2c-487e-93fa-37635af58bb8)

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.