Skip to content

Conversation

@timyates
Copy link
Contributor

@timyates timyates commented Jun 4, 2024

Closes #2219

@timyates timyates added enhancement New feature or request server labels Jun 4, 2024
@timyates timyates self-assigned this Jun 4, 2024
@mkimberlin
Copy link
Member

@timyates if you have a chance to hit the conflicts on this branch, I will make time to review today and will ask @chrismckiernan to do the same.

@timyates
Copy link
Contributor Author

timyates commented Jun 6, 2024

Fixed! 👍 Thanks!


public void delete(@NotNull UUID id) {
if (!feedbackRequestServices.findByValues(null, null, null, null, id, null, null).isEmpty()) {
throw new BadArgException(String.format("Review Period %s has associated feedback requests and cannot be deleted", id));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mkimberlin mkimberlin merged commit bb3d324 into develop Jun 11, 2024
@mkimberlin mkimberlin deleted the feature-2219/restrict-review-period-deletion branch June 11, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restrict Review Period deletion

4 participants