Skip to content

Commit

Permalink
Incorrect status showing on licence set up page
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4671

Carrying on from the issue that was fixed in #1363 another issue has been found with the status.

The problem can be recreated by:
1. New requirements added with a start date of 01/04/2022 that will have no end date.

2. Another new requirement is added with a start date 1 day later on the 02/04/2022. This will put an end date on the one created in step 1. of 01/04/2022. So the first will start and end on the same day.

3. Set up another new requirement with a start date of the 01/04/2022. This new requirement should replace the first but instead is just added and does not replace anything.

There are 2 issues that together appear to be causing this problem. The first was the order in which the checks were being carried out to see where the new return fitted in. The second was that it wasn’t expecting a return with a start and end date to be the same. This PR should fix those problems.
  • Loading branch information
Jozzey committed Sep 27, 2024
1 parent f6d4161 commit eaa39b8
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit eaa39b8

Please sign in to comment.