Closed lewismc closed 1 year ago
Actually, in my local testing when I reverted processing_utils.py to it's previous state and run some ingestion tasks I still observe metadata.tag_id
incrementing inline with the submission_id
. This makes me think that this bug has been there longer and just not been caught until now.
The SQL INSERT statement can be seen at https://github.com/tagbase/tagbase-server/blob/main/tagbase_server/tagbase_server/utils/processing_utils.py#L214-L223
As you can see we use the submission_id
instead of the tag_id
. We need to acquire the tag_id
from earlier ingestion logic. Probably from obtaining curval
for the tag_id sequence.
Jesus reported the following...