entity icon indicating copy to clipboard operation
entity copied to clipboard

BUG - API Transport Permit Registration Report Location Issue

Open LizGovier opened this issue 1 year ago • 1 comments

Issue Mhr 108344 was issued a permit to the reservation land – and the address was entered correctly as it appears, but does not appear either in the green screen or on the transport permit output – attached. MHR Info Page.png

Here is the green screen display: which would usually say Klekhoot Reservation #2 in the additional description area Green Screen Display.png

PDF permit-550340-108344.pdf


Doug: Issue 1 Transport permits the registration report location is missing the legal land description sub-section. The corrected report is attached and also corrected in doc storage for staff to download via the UI.

Issue 2 Legacy green screen is not correctly displaying the additional description. Here is the location information submitted to the API for this registration: "newLocation": { "address": { "street": "4444 TLUNIM TASHII", "city": "PORT ALBERNI", "region": "BC", "country": "CA", "postalCode": "" }, "leaveProvince": false, "taxCertificate": false, "locationType": "RESERVE", "lot": "13", "landDistrict": "ALBERNI", "bandName": "KLEKHOOT", "reserveNumber": "2" },

There is no additionalDescription text in the request. If the location type is RESERVE, the API is setting the legacy DB2 additional description as the bandName followed by the reserveNumber. Staff is asking for the text to be changed to bandName followed by "RESERVATION #" followed by the reserveNumber. Change "KLEKHOOT 2" to "KLEKHOOT RESERVATION #2".

LizGovier avatar Apr 15 '24 15:04 LizGovier

@LizGovier thanks, I updated the description after some more investigation. Staff is asking to add "RESERVATION #" to the additional description. Do you want to add it to the location and search reports as well?

doug-lovett avatar Apr 15 '24 16:04 doug-lovett

Hey @doug-lovett , if we added 'RESERVATION 2', would the MH Info page read as "Reserve Number: Reservation 2" or the same as below MHR Info Page.png

LizGovier avatar Apr 15 '24 20:04 LizGovier

Hi @LizGovier, no, only the additional description text would change. The reserve number value would stay at 2.

doug-lovett avatar Apr 15 '24 20:04 doug-lovett

Verified in DEV!

MHR 108307:

Registration output: 2024-04-16_BCMHR_Registration_108307.pdf

Search output: 2024-04-16_BCMHR_Search_Result_108307_15072.pdf

image.png

chdivyareddy avatar Apr 16 '24 23:04 chdivyareddy