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

Bug: Cohorts fail to calculate or be deleted if referencing another deleted cohort #29095

Open
darkopia opened this issue Feb 22, 2025 · 0 comments
Labels
bug Something isn't working right feature/cohorts Feature Tag: Cohorts team/product-analytics

Comments

@darkopia
Copy link

Bug Description

Bug description

Please describe.
If a cohort is referencing another Cohort that has been deleted, it will fail to calculate (probably expected) but deleting it triggers a 500 error, its removed from the UI but reappears on a refresh.

If you are on PostHog Cloud it would be really valuable if you can share any links where the problem occurs. This speeds up our ability to troubleshoot tremendously.

How to reproduce

  1. Create a cohort referencing another cohort
  2. Delete the referenced cohort
  3. Delete the referencing cohort.
  4. Referencing cohort is deleted but reappears on refresh because of 500 error.

Additional context

Debug info

@darkopia darkopia added bug Something isn't working right feature/cohorts Feature Tag: Cohorts team/product-analytics labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right feature/cohorts Feature Tag: Cohorts team/product-analytics
Projects
None yet
Development

No branches or pull requests

1 participant