To recreate: 1 - Find a patron record in Koha in a category 2 - Create a new patron using the surname and firstname of the above patron 3 - Add a guarantor (be careful to choose a patron in a category that cannot be a guarantee, see bug 37584) 4 - Save 5 - Get a duplicate patron warning 6 - Note the guarantor information is not visible 7 - Save, confirm no guarantor set
Just adding a comment to say it would be helpful to have this bug fixed! School children in our area are issued an e-library card through their schools so most of the kiddos we make physical library accounts for, get this duplicate error that then drops the guarantor information.
I am currently working with a schools library service that are frequently hitting this bug as their generic class tickets generate the duplicate warnings. We can't easily adjust PatronDuplicateMatchingAddFields as their service is part of a wider library system with other requirements for duplicate matching.