medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Replacing a CHP results in ambiguous match for every CHP in the area #124

Closed kennsippell closed 3 months ago

kennsippell commented 3 months ago

CSV input

Outgoing CHP,CHU,Sub County,CHP Name,CHP Phone
dne,Sawawa,Malava,Not Florence,0712 344321

Import this as CHP to Kakamega instance

Expected - DNE CHP does not exist Observed - Every CHP area in Sawawa is a match and error shows ambiguous match

kennsippell commented 3 months ago

This happens for areas where the place name is of type generated. Regression from https://github.com/medic/cht-user-management/pull/108