Closed inghamn closed 4 years ago
After fixing the error handling we can now see the SQL error.
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "street_designations_street_id_rank_key" DETAIL: Key (street_id, rank)=(1661, 1) already exists.
looks like we need to shuffle the ranks of the existing designations before creating the new street name designation.
Yes, the error is that the designation shuffling code was not updating the rank correctly. I'm working on fixing that part.
When attempting to rename "N Range Rd" to "E Discovery Parkway", the system threw an uncaught error. Call to undefined function "ChangeNameResponse()" in ChangeName.php line 73. There is a typo in the code, it should be "return new ChangeNameResponse()".
But this is also the exception handling portion of the code. Something else went wrong during the name change to trigger this portion of the code.