SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
Other
84 stars 25 forks source link

[Bug]: Upon DWCA export, some catalog numbers not reported #3455

Open tmcelrath opened 1 year ago

tmcelrath commented 1 year ago

Steps to reproduce the bug

1. I make a CO with a catalog number.
2. I save it.
3. I export that CO.
4. That object does not have a catalog number

Screenshot

Saved CO (created newly yesterday): image

DWC Export (note lack of catalog number): image

Exported DWC: image

Expected behavior

When I save a CO with a catalog number, it should always be exported in DWC.

Not sure what the problem with indexing is, but it's definitely a problem. I can manually go to record, save it, and it fixes it.

Additional Screenshots

No response

Environment

Production

Sandbox Used

No response

Version

0.33.1

Browser Used

Chrome

mjy commented 1 year ago

There are two issues here:

1) Related object creation is not triggering DwC rebuilds (e.g. adding Biocuration) 2) CatalogNumber creation in create and Next mode doesn't seem to be triggering a indexing update such that the catalog number comes up.

mjy commented 10 months ago

Mental note- or this is using delayed jobs and not being triggered on time.

mjy commented 10 months ago

Update. Not all TW objects trigger rebuilds (e.g. adding an Identifier is insolation does not re-save a CO). For the interm large releases should nuke and rebuild (admin side) the index. In the medium term we will include a library that will create a record update hook.

tmcelrath commented 7 months ago

Any update on this? Need this asap. Would love a manual trigger for reindexing a set of records up to 1000.