Source report by records shows wrong citation details

Bug #1390237 reported by meliza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webtrees
Triaged
Low
Unassigned

Bug Description

In the report for records I see often citation data of another source.

On my site when I create the Source report for source S326 - records, I see the citation of S357.

Meliza

Revision history for this message
meliza (meliza) wrote :
Revision history for this message
fisharebest (fisharebest) wrote :
Changed in webtrees:
status: New → Incomplete
Revision history for this message
fisharebest (fisharebest) wrote :

> Is this the same as https://bugs.launchpad.net/webtrees/+bug/1382722

Reading the bug report again, it probably isn't.

Revision history for this message
meliza (meliza) wrote :

After some more testing, it seems to me that we see always the citation details of the individual record's 1st source, not of the reported source.

Revision history for this message
fisharebest (fisharebest) wrote :

On the demo site, run the source report for S1 and S2

Look at the entry for the birth of Queen Elizabeth. This event has two sources

The correct citation is shown for each report.

Revision history for this message
meliza (meliza) wrote :

Yes, fact sources s1 and s2 are OK.

I speak of record sources.
I filled 2 test record sources on the demo site to i1.
Please approve them and let's make sure we see the citations as expected.

Meliza

Revision history for this message
meliza (meliza) wrote :

I realized that I could approve the changes.

After that, when I run the report on the demo-dev site for source s1 and select source type record, I see the data as expected.
When I run it for s2 - source type record, I see the s1 data, not the s2 data.

Please tell me when to remove these record sources from the demo-dev site.

Meliza

Revision history for this message
fisharebest (fisharebest) wrote :

> Please tell me when to remove these record sources from the demo-dev site.

The demo sites are reset automatically every night at approx 04:00 UTC

Revision history for this message
fisharebest (fisharebest) wrote :

In function gedcomValueStartHandler(), we do not know if we are the 1st/2nd/3rd... repetition in the loop.

If we did know this number, the function get_gedcom_value() does not have a way to fetch it.

This may be a lot of work to fix.

Changed in webtrees:
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
meliza (meliza) wrote :

Perhaps we should not show the source citation details in the record sources report till we correct the issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.