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.
This commit is contained in:
Paul Franklin 2018-10-07 23:36:32 -07:00
parent 36779c1229
commit 01060f0b0d

View File

@ -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()