First let me describe how to recreate the problem. After that, I will describe how I discovered the problem and why I think it’s a bug that needs to be fixed.
- From the Edit Person screen, add a new citation. It doesn’t seem to matter whether the citation is using the free form template, a built-in template, or a user defined template. It doesn’t seem to matte whether the citation is for a person or for a family or for a fact or for a name.
- Memorize the new citation.
- Paste/Reuse the citation back into the same item from which it was memorized. At this point, the citation will have been duplicated for that person or family or fact or name. You would never do this on purpose, but this is the easiest way to recreate the problem.
- Delete one of the duplicate citations. The other duplicate citation will also be deleted at the same time. It seems to me that just the one duplicate citations should have been deleted and that this is a bug.
I discovered by accident that I had one citation duplicated in this manner in RM7. There is no way that I know of to find these kinds of duplicate citations in either RM7 or RM8, so I wrote an SQLite script to find them. I had about 100 citations out of about 86,000 citations in my database that had this problem. They were all citations from about 25 years ago in the Family Origins days. I can’t determine exactly how these few citations became duplicated in this manner and how a vastly larger number of citations did not become duplicated in this manner. But the duplicate citations are there, and I need to clean them up. So I commenced the process.
My standard workflow at the present time is to delete my RM8 database every morning, to import my RM7 database into RM8 every morning, and to repeat all my data entry each day into both RM7 and RM8. So I started using my SQLite script to find the oddly duplicated citations in RM7 and proceeded to delete the duplicates from both RM7 and RM8. I had to develop a very different workflow to do the deletes in RM8 than to do the deletes in RM7. That’s an interesting story in and of itself, but I came up with a way to delete the duplicate citations in RM8 that’s just as easy as as it is in RM7 and that’s a good thing. So far, so good.
When and if I quit using RM7 and switch totally over to RM8, I will do a Merge Duplicate Citations in RM8. The Merge Duplicate Citations tool doesn’t so much merge duplicate citations as it converts duplicate copied citations to reusable citations. This is an essential step in converting to RM8 because otherwise duplicate citations cannot be combined in endnote lists in reports.
It takes about 30 minutes to run RM8’s Merge Duplicate Citations tool against my database, so I usually skip that step each morning unless something I’m going to be doing that day that depends on having my RM8 citations properly merged. But I decided that I had better test the process of deleting duplicate citations for the same person, family, fact, or name from RM8. So I took the extra half hour to run RM8’s Merge Duplicate Citations tool against my database and then I deleted a duplicate citation. But RM8 deleted both the duplicate and the original.
Well, first I verified that RM8’s Merge Duplicate Citations tool does not merge duplicate citations when they are assigned to the same person, family, fact, or name. It does not. Then I tried deleting one of the duplicates by hand. That’s when I discovered that RM8 was deleting both duplicates. It only deletes both citations when they are reused, not when they are copied. And it only deletes both citations when they are attached to the same person, family, fact, or name. There is no problem when different persons, families, facts, and names have the same reused citation. I really hope that this issue is accepted as a bug and that it is fixed at some point.
It occurs to me that a work around would be to Memorize one of the duplicated citations for the same person, family, fact, or name and Paste/Copy it back into the same person, family, fact, or name. Then I could delete the originally duplicated citations without losing my citations. But that seems extraordinarily convoluted. And I would still need to run RM8’s Merge Duplicate Citations again because the same citation is likely to have been used by some other person, family, fact, or name.