Hi, @ACWadmin1 !
I think that I was finally able to reproduce the issue!
At least one way to reproduce the problem is this:
- Mark an individual as new from a project.
- Remove that encounter from the project.
- Navigate to that encounter, remove it from the individual that was just created for it.
- Re-assign that encounter to an already-existing individual.
For some (I’m sure totally and completely crazy) reason, under these circumstances, a NEW individual with the same name gets created, rather than the expected behavior of simply attaching the encounter to the individual that already exists in the database with that name.
I first noticed this issue upon inspection of the duplicate individuals… every one I looked at (which, granted, was not exhaustive) showed that at least one of the two individuals had a history in which they were part of a project but eventually removed from the project.
Whether this is necessary to create the duplicated individuals scenario is still unclear to me. But it does appear to be sufficient to create the duplicated individuals scenario we’re seeing above.
I’m filing a ticket for this as WB-1893. It seems gnarly, non-critical, and has a workaround, so I can’t offer a useful estimate of when someone will attack the issue.
In the meantime, here’s a workaround for merging individuals:
Copy the individual ID from one of the two duplicates from its URL. For example, 2aa62a58-bf80-4829-a428-b2e2822fa496 in:
Then copy the individual ID from the other of the two duplicates from its URL. For example, 17c7bbdf-1a8d-46fe-9e34-e4a7519f4350 in:
Go to the following URL:
Wildbook for Carnivores | LoginwhateverTheFirstIndividualIdIs&individualB=whateverTheSecondIndividualIdIs
. From there, you should be able to merge the two individuals into one individual.
I believe that I have ruled out bulk import as a culprit. Or rather, I at least have a counterexample that I used that did not produce a duplicate individual. This certainly doesn’t exculpate bulk import.
I have also ruled out simply assigning an encounter to an individual that already exists; in this case, it behaves as expected and just adds that encounter to the individual’s encounter list.
I still would like to do a little bit more investigation of the submitterID stuff that was mentioned in the related post Missing submitter ID causing duplicates in new ID uploads - #4 by ACWadmin1, so I (or whoever else takes on this ticket), will still have some investigation and follow up to do on that front.
I hope that this at least provides you some insight and a workaround.
-Mark