You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, there are different values in person:id:admin for the same string in person:name string:
person:id:admin
person:name
7d3f6ecf-5cd3-4c13-a313-9033357665f6
Moe Aung
404df6f2-c490-4605-8e8b-7ddb8ec75f7e
Moe Aung
The sfm-cms importer is conservative, and flags these as a possible data entry error:
"Got multiple UUID values for person name"
However, the data are correct: there are two distinct people with the same name. I think it may be a legacy of the period before we used uuids as identifiers but used names instead.
So this particular check should be disabled in the importer.
For completion, the check that sholud be retained retain is the reverse of the above - those cases where there is variation in the string in person:name, but the uuid in person:id:admin remains the same:
person:id:admin
person:name
7d3f6ecf-5cd3-4c13-a313-9033357665f6
Moe Aung
7d3f6ecf-5cd3-4c13-a313-9033357665f6
Davy Jones
This indicates an error that we want to know about.
FWIW, this check does not prevent import, it simply logs both instances, because in the past, the some person has been split into two via different IDs.
In some cases, there are different values in
person:id:admin
for the same string inperson:name
string:person:id:admin
person:name
The
sfm-cms
importer is conservative, and flags these as a possible data entry error:However, the data are correct: there are two distinct people with the same name. I think it may be a legacy of the period before we used uuids as identifiers but used names instead.
I think this is where it is called:
sfm-cms/sfm_pc/management/commands/import_country_data.py
Line 241 in c8a00b4
So this particular check should be disabled in the importer.
For completion, the check that sholud be retained retain is the reverse of the above - those cases where there is variation in the string in
person:name
, but the uuid inperson:id:admin
remains the same:person:id:admin
person:name
This indicates an error that we want to know about.
@tonysecurityforcemonitor double check my reasoning here please.
The text was updated successfully, but these errors were encountered: