Closed reillyzlab closed 5 years ago
This was a really good catch.
The bug was in our code.
Because there were multiple selections, some of the unit-handling code was being used, which caused us to try and create a case with the intersection as the address string.
The Salesforce implementation does not allow addresses to be specified as text, so we need to send them as lat/lng instead in every case.
When searching for an intersection there are mixed results on whether it works or not.
It appears that there are certain intersections that exist more than once in the City and if they do appear more than once then there is an error and the user can't submit a case type.
When trying to submit Park and Beacon, there are three potential intersections a user could submit. When trying to submit the case, the following error appears:
There is not an issue when only one result exists. Example: https://311-uat.digital-staging.boston.gov/reports/200983622
Reilly spoke with Claire briefly about this, so Claire knows we may be reaching out. We need more investigation on where the issue is occurring, but need developer help to do this.