From 01060f0b0d880a35358593104215976f4231c6fe Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 7 Oct 2018 23:36:32 -0700 Subject: [PATCH] name-note is not being cleared in Complete Individual report I ran gramps with a fresh copy of the example.gramps tree, then ran the Complete Individual report. The options which matter are "Entire Database" and "Include Notes" but I also included the gramps-ID since that speeds up my work. Then I noticed that hundreds of names at the end of the output file all had the same note (N0001), whose text said it referred to a specific person. So I looked higher and the note inclusion started with I0044, the default person. It was real for him but not for the next person after him, or all the people after her. I introduced the problem when I fixed 10033, in d6a97cf90e. Note that this bug is independent of the CIR fix in p.r. 676 and still happens even after that pull request is applied. --- gramps/plugins/textreport/indivcomplete.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/plugins/textreport/indivcomplete.py b/gramps/plugins/textreport/indivcomplete.py index 33fc6e683..13c169955 100644 --- a/gramps/plugins/textreport/indivcomplete.py +++ b/gramps/plugins/textreport/indivcomplete.py @@ -840,6 +840,7 @@ class IndivCompleteReport(Report): if self.person is None: continue self.family_notes_list = [] + self.names_notes_list = [] self.write_person(count) if self._user: self._user.end_progress()