Firm Registration allows in error a Start Date of more than 10 days in the future
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
**Describe the bug in current situation**
- [ ] When registering a firm, the start date can be chosen randomly in the future.
- [ ] This date should not be allowed to be more than 10 days in the future.
**Link bug to the User Story**
**Impact of this bug**
- [ ] Invalid records created in PROD
**Chance of Occurring (high/medium/low/very low)**
- [ ] High.
- [ ] We register circa 400 firms a month
**Pre Conditions: which Env, any pre-reqeusites or assumptions to execute steps?**
**Steps to Reproduce**
Steps to reproduce the behavior:
1.Start a firm registration
2. Enter a start date further than 10 days in the future
3. Submit registration
4. Observe system produces no error
**Actual/ observed behavior/ results**

**Expected behavior**
A clear and concise description of what you expected to happen. Use the gherking language.
**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
Research direction
No file or test is named. Start by reproducing the firm registration flow in the bcgov/entity repository with a start date more than 10 days ahead, then trace the registration submission validation. Done means the system rejects that date and prevents the invalid firm record from being created.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, javascript, python
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100