Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App records making inconsistent links to activities #282

Open
kitenetter opened this issue Jun 3, 2024 · 1 comment
Open

App records making inconsistent links to activities #282

kitenetter opened this issue Jun 3, 2024 · 1 comment

Comments

@kitenetter
Copy link
Collaborator

HI @kazlauskis I'm not sure if this is a problem at the app end of things or the warehouse, but I'm starting with the app. Mike Prince recently added a set of records using the app while it was linked to activity ID 2786. There are 32 occurrences all under the same parent_sample_id but only two of these occurrences have ended up with a link to the activity. Do you know why this has happened?

Occurrence data:
missing group id.csv

@kazlauskis
Copy link
Member

@kitenetter I looked into this and can't see why some subsamples are not linked to activities. For some reason, the warehouse logs for the day this record was created don't open through the warehouse web interface, so I can't see what the app has sent. You should ask one of the web developers to check the records in the database.

The app sets the group_id to both samples and subsamples, but this can get complex because activities have an expiry date and other involved logic. It would help if group_id was inherited by subsamples as we do now for some other core attributes here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants