SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
MIT License
87 stars 26 forks source link

DarwinCore Exporter - DataAttributes are not aligning to their objects #3802

Closed mjy closed 9 months ago

mjy commented 9 months ago

Tommy has found a bug where DataAttributes are not aligning with their corresponding objects. Clearly a major missalignment. We'll have to re-visit how DAs are aligning to the row they are being exported on, perhaps row order is not being perserved, etc.

Steps to replicate - choose all data attributes for some reasonablly sized record set (10k), export. Notice that data attributes for one record are offset to another row.

This was probably introduced with the refactor that added the ResourceRelationship table as that is the last time it was touched.

@LordFlashmeow if you are interpretting DataAttributes on Export you're going to want to check this for AntWeb.

mjy commented 9 months ago

I think I have it, where is not properly scoped in a couple places.

tmcelrath commented 9 months ago

Needs re-opened. Not fixed in 0.38.0

tmcelrath commented 9 months ago

Unfortunately not fixed in 0.38.1. Can you confirm the same with AntWeb data @LordFlashmeow ?