bcgov / bcgov/entity

MHR - Incorrect details are displayed in the Transfer flow for the Location of Home

Open
#16,561 2 comments 0 reactions 0 assignees View on GitHub
Assets bug MHR
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

- [ ] In the transfer flow, multiple location type details are displayed through the UI without adding or entering the details.

**API Request:**
```
{
"clientReferenceId": "UT-MHREG-SO-0001",
"attentionReference": "AT-TEST948",
"documentId": "63286940",
"ownLand": true,
"submittingParty": {
"businessName": "ABC SEARCHING COMPANY",
"address": {
"street": "222 SUMMER STREET",
"city": "VICTORIA",
"region": "BC",
"country": "CA",
"postalCode": "V8W 2V8"
}
},
"ownerGroups": [
{
"groupId": 1,
"owners": [
{
"individualName": {
"first": "RICHARD",
"last": "SMITH"
},
"partyType": "TRUSTEE",
"description": "TRUSTEE OF THE ESTATE OF JOHN SMITH",
"address": {
"street": "1234 FRONT STREET",
"city": "KELOWNA",
"region": "BC",
"country": "CA",
"postalCode": "V2F 6H4"
},
"phoneNumber": "6047271234"
},
{
"individualName": {
"first": "Kareem",
"last": "Howard"
},
"partyType": "TRUSTEE",
"description": "TRUSTEE OF THE ESTATE OF JOHN SMITH",
"address": {
"street": "7-3031 200 ST",
"city": "KELOWNA",
"region": "BC",
"country": "CA",
"postalCode": "V1F 6J4"
},
"phoneNumber": "6047942774"
}
],
"type": "NA"
}
],
"location": {
"locationType": "MH_PARK",
"parkName": "HIDDEN VALLEY TRAILER COURT",
"pad": "20",
"address": {
"street": "940 BLANSHARD STREET",
"city": "VICTORIA",
"region": "BC",
"country": "CA",
"postalCode": "A1A 1A1"
}
},
"description": {
"manufacturer": "STARLINE",
"baseInformation": {
"year": 2018,
"make": "WATSON IND. (ALTA)",
"model": "DUCHESS"
},
"sectionCount": 1,
"sections": [
{
"serialNumber": "52D70556",
"lengthFeet": 52,
"lengthInches": 0,
"widthFeet": 12,
"widthInches": 0
}
],
"csaNumber": "786356",
"csaStandard": "Z240",
"rebuiltRemarks": "REBUILT AS A DOUBLE WIDE, MAKE/MODEL CUSTOM, YEAR 1995",
"otherRemarks": "BC SAFETY AUTHORITY #339556, PERMIT# EL-721296-2018"
}
}
```

**API Response:**
```
{
"affirmByName": "BUSINESS REGISTRY TEST 1",
"attentionReference": "AT-TEST948",
"clientReferenceId": "UT-MHREG-SO-0001",
"createDateTime": "2023-05-29T19:08:48+00:00",
"declaredValue": 0,
"description": {
"baseInformation": {
"circa": false,
"make": "WATSON IND. (ALTA)",
"model": "DUCHESS",
"year": 2018
},
"csaNumber": "786356",
"csaStandard": "Z240",
"manufacturer": "STARLINE",
"otherRemarks": "BC SAFETY AUTHORITY #339556, PERMIT# EL-721296-2018",
"rebuiltRemarks": "REBUILT AS A DOUBLE WIDE, MAKE/MODEL CUSTOM, YEAR 1995",
"sectionCount": 1,
"sections": [
{
"lengthFeet": 52,
"serialNumber": "52D70556",
"widthFeet": 12
}
],
"status": "ACTIVE"
},
"documentDescription": "MANUFACTURED HOME REGISTRATION",
"documentId": "63286940",
"documentRegistrationNumber": "00501338",
"location": {
"address": {
"city": "VICTORIA",
"country": "CA",
"postalCode": "A1A 1A1",
"region": "BC",
"street": "940 BLANSHARD STREET"
},
"leaveProvince": false,
"locationId": 432,
"locationType": "MH_PARK",
"pad": "20",
"parkName": "HIDDEN VALLEY TRAILER COURT",
"status": "ACTIVE",
"taxCertificate": false
},
"mhrNumber": "150655",
"ownLand": true,
"ownerGroups": [
{
"groupId": 1,
"owners": [
{
"address": {
"city": "KELOWNA",
"country": "CA",
"postalCode": "V2F 6H4",
"region": "BC",
"street": "1234 FRONT STREET"
},
"description": "TRUSTEE OF THE ESTATE OF JOHN SMITH",
"individualName": {
"first": "RICHARD",
"last": "SMITH"
},
"ownerId": 2470,
"partyType": "TRUSTEE",
"phoneNumber": "6047271234",
"status": "ACTIVE",
"type": "NA"
},
{
"address": {
"city": "KELOWNA",
"country": "CA",
"postalCode": "V1F 6J4",
"region": "BC",
"street": "7-3031 200 ST"
},
"description": "TRUSTEE OF THE ESTATE OF JOHN SMITH",
"individualName": {
"first": "KAREEM",
"last": "HOWARD"
},
"ownerId": 2471,
"partyType": "TRUSTEE",
"phoneNumber": "6047942774",
"status": "ACTIVE",
"type": "NA"
}
],
"status": "ACTIVE",
"tenancySpecified": true,
"type": "NA"
}
],
"payment": {
"invoiceId": "28676",
"receipt": "/api/v1/payment-requests/28676/receipts"
},
"registrationType": "MHREG",
"status": "ACTIVE",
"submittingParty": {
"address": {
"city": "VICTORIA",
"country": "CA",
"postalCode": "V8W 2V8",
"region": "BC",
"street": "222 SUMMER STREET"
},
"businessName": "ABC SEARCHING COMPANY"
}
}
```

**Registration output:**
![image.png](https://images.zenhubusercontent.com/60cd147b9008de277d1a6814/d0bda40d-03bb-4079-a852-983ee9780b3b)

[https://app.zenhub.com/files/157936592/df44ccd4-d763-4236-b442-ed5bcbc80304/download](https://app.zenhub.com/files/157936592/df44ccd4-d763-4236-b442-ed5bcbc80304/download)

**Transfer flow:**
![image.png](https://images.zenhubusercontent.com/60cd147b9008de277d1a6814/dcec99e7-522b-4b57-b9ca-806b1d7b4711)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reproducing the transfer flow with the supplied request and compare its displayed location details with the registration output and screenshots. Done means the UI shows only location-type details that were entered or returned for the transfer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.