[Using self-hosted Specify v7.11.0 at the time of writing]
Hi there,
I’m running out of ideas to (understand and) solve an issue in the Taxon Tree Definition. The Full Name Separator is not taken into account in the Taxon Full Name.
Here is how look my Taxon Tree Definition (Botany discipline)
The Full Name Separator column contains space character
Here is the result of a query requesting preferred taxon at subspecies rank (I read in the doc that only preferred taxon full names are updated). I have a formatter for the Taxon table asking for “Full Name Author”
mind the missing space between subsp. and the subspecies name (same results with forma or variety)
I played a bit with other characters than space with no effect.
Geography and Storage tree definition uses , as a Full Name Separator and it works. A change of the Full Name Separator for both trees also works fine. So it narrows down the problem to Taxon Tree specifically.
I checked the logs (even with SP7_DEBUG=true) and found nothing relevant at first sight… except an nginx warning from time to time saying a client request body is buffered to a temporary file
I attempted a Tree Repair that failed saying
AssertionError at /api/specify_tree/taxon/repair/
found 154 nodenumbers not nested by parent
But I have the same kind of errors if I attempt to repair the Storage Tree for instance.
As you point out, the default “Full Name Separator” for Taxon is a space. I found two aspects of the Tree Def Items field behavior of relevance to your issue:
1. Full Name Separator is applied between each part of the full name from the Taxon table, but not between the Text Before or Text After fragments and the Taxon values. This is expected so as to not force a potentially non-space separator character between the Text Before/After and Taxon values of the full name. (e.g., Caraipa, densifolia, supsp., densifolia)
For context, notice where the Geography full name separator is in the definition and Query results: