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

Exclude ret reqs from ret vers that have ended #1580

Merged
merged 3 commits into from
Dec 23, 2024
Merged

Conversation

robertparkinson
Copy link
Collaborator

@robertparkinson robertparkinson commented Dec 20, 2024

https://eaflood.atlassian.net/browse/WATER-4547

As part of the testing of the historic changes, it was noticed that additional return logs were being created that had start dates after their end dates.

After some digging, we figured out that when dealing with a new return version, it was always creating return logs for the entire return cycle. It should only be creating return logs up to the end date of the return version.

This change excludes return requirements from a return version, which have a start date after its end date.

@Cruikshanks Cruikshanks changed the title remove requirements for returns versions that have ended Exclude ret reqs from ret vers that have ended Dec 23, 2024
@Cruikshanks Cruikshanks merged commit bb8eaa6 into main Dec 23, 2024
6 of 7 checks passed
@Cruikshanks Cruikshanks deleted the return-log-bugs branch December 23, 2024 12:02
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.

2 participants