Describe the Bug
The COORS Court Convictions importer is not correctly importing the Location field on import.
FYI, it looks to me like the importer is trying to import from the CSV correctly (csvRow['location'] - the CSV column is indeed labeled 'location') but I suspect the variable is not properly labeled (conviction['location_of_violation'] - but I think that should just be conviction['location']).
That's just my best guess, but I absolutely could be completely wrong. :)
Side note: Row 80 is where certain violation tickets get transformed into court convictions. It's working fine, just in case you have to tinker with it too. :)
Expected Behaviour
On import, the value in the CSV Location column should populate the Location field in the Court Conviction record.
Actual Behaviour
The Location field is not being populated (or at least is showing a "-" on NRCED)
Implications
Until this bug is addressed, users will not be able to understand where a given court conviction was made. This is confusing to the user, although the risk is minimal.
Steps To Reproduce
Steps to reproduce the behaviour:
Go to the NRPTI Import UI
Select COORS as the system
Select Court Convictions as the Record Type
Drag and drop a court conviction file (ask Kyle for one) and click Start Job.
Note that it will look like only some of the Court Convictions are missing locations because some will show locations. The ones that show locations actually come from Violation Ticket files (see the second bullet under Describe the Bug).
Describe the Bug The COORS Court Convictions importer is not correctly importing the Location field on import.
Expected Behaviour On import, the value in the CSV Location column should populate the Location field in the Court Conviction record.
Actual Behaviour The Location field is not being populated (or at least is showing a "-" on NRCED)
Implications Until this bug is addressed, users will not be able to understand where a given court conviction was made. This is confusing to the user, although the risk is minimal.
Steps To Reproduce Steps to reproduce the behaviour: