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

Fix generation status query errors when source is deleted. #2361

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

chrisknoll
Copy link
Collaborator

Added migration to alter views to not return any generations for sources that do not exist.
Fixes #2360.

There is a problem of consistency in the codebase about when entity graphs are used when the @transactional annotation is used, and the use of views to track generation info (ie: the source may be deleted but we can't set a foreign key to a spring batch job table based on a string_value column. We should have maintained our entity-specific generation status table instead of trying to generically use the job_execution table to store this. We will revisit this decision in WebAPI 3.0.

Added migration to alter views to not return any generations for sources that do not exist.

Fixes #2360.
@chrisknoll chrisknoll merged commit f347d2d into master Apr 15, 2024
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the issue-2360 branch April 15, 2024 13:13
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

Successfully merging this pull request may close these issues.

Error fetching generations for CohortPathways
2 participants