Changed handling of missing dates or bug?

I just exported a Gramps xml file and noticed a change in events with missing dates. My “old“ events without a date simply has no date in xml. But it seems like events added after I upgraded to 6.3 instead has an empty datestr. Is this a bug? It seems more logical that a missing date is actually missing rather than an empty string. At least I think it should be the same for old an new events so it doesn’t confuse filters etc.

Edit: It looks like an empty datestr is also added to new names.

1 Like

Looking at the Gramps XML exporter, there is no code to prevent empty dates to be written for events, citations or addresses. This is the case in v5.2 as well as v6.0.

There is code to prevent empty dates being written in media, place names, place references and LDS ordinances.

It looks like there may be a bug for dates in names where there seems to be an attempt to exclude empty dates from the XML.

According to the XML schema, either is valid and result in the same empty date being created.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.