BiologicalRecordsCentre / plantportal

Focused repo for the Plant Portal website
0 stars 0 forks source link

Deleted plot groups do not get reinstated #7

Closed andrewvanbreda closed 1 year ago

andrewvanbreda commented 3 years ago

If a Plot Group is deleted, but is imported again using the sample/occurrence importer, then the Plot Group will not be imported. I believe this is caused on the Warehouse side which uses the database function insert_term to create new Plot Groups in the Plot Groups termlist, I believe this function has a bug in it which means when it checks if a term already exists, it isn't checking the deleted flag

andrewvanbreda commented 1 year ago

Issue relating to the old legacy importer. Closing.