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

Make sure we can remove sites when there are no kept courses #4702

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

tomas-stefano
Copy link
Contributor

@tomas-stefano tomas-stefano commented Nov 19, 2024

Context

An user raised a support ticket stating that they can’t remove certain schools.

The reason of the bug is because there are schools attached with discarded courses.

Reproducing the bug

  1. Create a school for test
  2. Create a draft course and attach the school above
  3. Delete the draft course
  4. Try to delete the school - you can’t!

Changes proposed in this pull request

It should be possible to delete schools if is not attached to any kept course.

Guidance to review

  1. Is there a problem deleting a site associated with a discarded (deleted) course? - I couldn't identify any.

An user raised a support ticket stating that they can’t remove schools.

Reproducing the bug:

1. Create a school for test
2. Create a draft course and attach the school above
3. Delete the draft course
4. Try to delete the school - you can’t!

It should be possible to delete schools if is not attached to any course.
@tomas-stefano tomas-stefano added the deploy A Review App will be created for PRs with this label label Nov 19, 2024
@tomas-stefano tomas-stefano requested a review from a team as a code owner November 19, 2024 15:32
@tomas-stefano
Copy link
Contributor Author

@tomas-stefano tomas-stefano merged commit d20c7ab into main Nov 20, 2024
38 checks passed
@tomas-stefano tomas-stefano deleted the td/214-users-cant-remove-schools branch November 20, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy A Review App will be created for PRs with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants