entity icon indicating copy to clipboard operation
entity copied to clipboard

Authorization date selection can be selected even before the founding date of the Extra Provisional Company.

Open riyazuddinsyed opened this issue 1 year ago • 1 comments

Describe the bug in the current situation When the user searches for an Extra provincial company and in the Continuation Authorization component the date can be selected even before the founding date of the company which is not valid.

Steps to reproduce the behavior:

  1. Go to 'https://dev.bcregistry.ca/business/auth/home/decide-business'
  2. Start a Continuation In Filing.
  3. Search for "A0002744".
  4. In the Continuation Authorization component under the Authorization Date section the user is all free to choose a date even before the founding date of the company.

Screenshots/ Visual Reference/ Source Screen Shot 2024-05-16 at 1.18.26 PM.png Screen Shot 2024-05-16 at 1.19.01 PM.png

riyazuddinsyed avatar May 16 '24 20:05 riyazuddinsyed

@yuisotozaki Should we add a validation here? The only validation so far is that this is not a future date.

severinbeauvais avatar May 16 '24 21:05 severinbeauvais

@yuisotozaki @NaveenHebbale @OlgaPotiagalova This was never a requirement. Should we implement this check?

severinbeauvais avatar May 29 '24 15:05 severinbeauvais

Olga agreed that we should implement this.

If the existing business is an expro then the authorization date cannot be before the Date of Incorporation (in BC).

If the existing business is manually entered then the authorization date cannot be before the Incorporation Date in Home Jurisdiction.

severinbeauvais avatar May 30 '24 17:05 severinbeauvais

Test Notes

  • verify with an expro (in which case, the registration date in BC is the minimum)
  • verify with a manual entry (in which case, the incorporation date in home jurisdiction is the minimum)
  • verify with no manual entry date (in which case, there is no minimum date -- but manual entry date is required and when you enter it, the validation will occur)

Also in this ticket, the text input fields (on page 1 only) automatically trim off any leading or trailing spaces and do not validate if only spaces are entered.

severinbeauvais avatar Jun 03 '24 23:06 severinbeauvais