bcgov / bcgov/entity

Registration of SP DBA allows in error a SP to be the Proprietor

Open
#34,160 2 comments 0 reactions 1 assignee Claimed by @kialj876 View on GitHub
bug Entities Team On Hold Prod
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
- [ ] There is an Enum in the code that excludes another SP to be the Proprietor.
- [ ] Somehow this validation is now bypassed.

**Link bug to the User Story**

**Impact of this bug**
- [ ] Major impact in PROD:
- CRA refuses to assign BN
- User needs to dissolve wrong firm, and register again

**Chance of Occurring (high/medium/low/very low)**
- [ ] High - there is a fair number of SP DBA registrations.

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

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Actual/ observed behavior/ results**
image.png

**Expected behavior**
A clear and concise description of what you expected to happen. Use the gherking language.
AS AN END USER
WHEN I REGISTER A SP DBA
AND ATTEMPT TO USE A SP AS PROPRIETOR
THEN SYSTEM STOPS ME AND DISPLAY MESSAGE
**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.

**Root Cause Analysis (RCA) results**
If applicable, document the root cause analysis results for the scenarios. This section is mandatory before the issue can be closed
@mstanton1

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.