Skip to content

fix: delete orphaned redirect records when organization is deleted#28658

Open
claygeo wants to merge 2 commits intocalcom:mainfrom
claygeo:fix/org-delete-redirects-clean
Open

fix: delete orphaned redirect records when organization is deleted#28658
claygeo wants to merge 2 commits intocalcom:mainfrom
claygeo:fix/org-delete-redirects-clean

Conversation

@claygeo
Copy link
Copy Markdown

@claygeo claygeo commented Mar 29, 2026

Fixes #28584. Deletes tempOrgRedirect entries pointing to the deleted org's domain. 1 file, 12 lines. Replaces #28643 which had unrelated changes.

When an organization is deleted, tempOrgRedirect records pointing to
the deleted org's domain persist, causing broken redirects.

Fixes calcom#28584
@github-actions github-actions bot added the 🐛 bug Something isn't working label Mar 29, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Deleted organization domains still redirect users to inaccessible URLs

2 participants