Steps to reproduce:
- Import a xar with some patient records with owners, one owner per patient record (e.g., testing-families-20170811.xar )
- After import, two owner objects are attached to each record: one is the original owner from the document that was imported, and the other (added automatically after import) is the creator of the document.
Two ways to check the owner objects:
1/ go to the patient record page in xml mode (localhost:8080/P0000001?xpage=xml) and look for "<owner>"; OR
2/ Import Misc.2Owners.xar and view the page localhost:8080/Misc/2Owners, which lists all the patient records with more than one owner.