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

DFPL-2654: When creating a new role, ensure it's end is offset 5 mins #5838

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DanCatchpole
Copy link
Contributor

JIRA link (if applicable)

DFPL-2654

Change description

  1. When adding a new role, if there is a hearing afterwards (i.e. being added out of chronological order, editing a middle hearing), ensure it ends 5 mins before the next role starts
  2. When deleting roles for a hearing, offset the deletion query by 5 minutes into the hearing start time, so we don't pickup any old, misconfigured hearing roles which end at the time of the current hearing (fixed going forwards in (1), but this saves a migration recreating all roles)

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

@hmcts-jenkins-d-to-i hmcts-jenkins-d-to-i bot requested a deployment to preview February 12, 2025 08:30 Abandoned
@hmcts-jenkins-d-to-i hmcts-jenkins-d-to-i bot requested a deployment to preview February 12, 2025 09:19 Abandoned
@hmcts-jenkins-d-to-i hmcts-jenkins-d-to-i bot requested a deployment to preview February 18, 2025 16:32 Abandoned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants