fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
490 stars 301 forks source link

check for errors - validation of number of subtags #4621

Open Bogiegit opened 2 years ago

Bogiegit commented 2 years ago

Tags should be checked in terms of minimum/maximum number of subtags

some samples:

reteP-riS commented 1 year ago

This is a double-edged sword... Sometimes you would want to document contradictions by using the same subtag twice with the first one being the preferred one. Nevertheless it would be nice if webtrees showed a warning, not necessarily an error.

fisharebest commented 1 year ago

I do not think that is permitted. You can enter multiple facts/events - but not lower-level attributes.

For example, if you had two contradictory INDI:DEAT:CAUS, then you would need two INDI:DEAT events

reteP-riS commented 1 year ago

Good point - thanks!