Closed chdivyareddy closed 1 year ago
@dimak1 pointed out a valid issue in his review of my code.
The bug has been fixed for this ticket, but the fix does affect any MHR or PPR form that uses the BaseAddress shared component. I did a test on PPR forms that use the BaseAddress and found that the fix I am putting in for MHR also fixed the issue for PPR. I am not sure why it was never reported.
The question is, as Dima pointed out is; should I Change the Description and AC of the ticket to ensure that this ticket describes A bug in the BaseAddress?
@ChasBoucher usually developers do not create/update AC's. These requirements should come from PO or Designers. cc: @mstanton1 @tlebedovich pls see above
@ChasBoucher it would be great to have @chdivyareddy test as well to confirm impacts for PPR. If this is resolved for PPR as well great. If not, as long as nothing is broken we can move this along (and then see if user feedback comes in for PPR). I've updated the description.
@mstanton1 @dimak1 Sounds good. Waiting on one approval and hopefully it will get merged today.
Hey @ChasBoucher ! Sometimes when Canada is selected as a Country, then the lookup displays Unites states address in the drop-down list and vice versa same as reported above in both places PPR and MHR filings. Please take a look, thanks!!
Steps to Reproduce:
Follow the same steps for MHR filing as well
PPR Registarion: Secured party
MHR Registration: Submitting party
The above error is very difficult to reproduce and usually only happens when the Country code is changed in quick succession... This may be due to a delay in accessing the Canada post API... I am not sure how much time we should spend on this to fix this issue...It has never been reported by a user.
With your note @ChasBoucher that the issue above is very difficult to reproduce I would be comfortable moving forward without tackling it given the likelihood of this occurring is very low.
@mstanton1 Yes, I do agree with @ChasBoucher on this scenario (which only occurs with change in the Country code multiple times) where this is currently in PROD and never reported by users.
Will reopen if it becomes a customer's issue
AC
GIVEN I am BC Registries Staff with the keycloak group Assets_Staff WHEN I am in the Manufactured Home Registration step 2 Submitting Party and step 3 List Home Owners AND if the mailing address is Canadian or non-Canada in step2 and step3 from the Canada post lookup THEN the postal code should be validated without any error message
Note: This has been described as also resolving the same issue with PPR addresses. Please verify.
Current Behavior:
[x] When Canada is selected as a Country, then the lookup displays Unites states address in the dropdown list
[x] When the mailing address Country is United states
[x] When the mailing address Country is Canada