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

ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "furnitures" violates foreign key cons... #2339

Open
sentry-io bot opened this issue Apr 3, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 3, 2024

Sentry Issue: CONVENE-2K

PG::ForeignKeyViolation: ERROR:  update or delete on table "furnitures" violates foreign key constraint "fk_rails_52134930a6" on table "marketplace_tax_rates" (PG::ForeignKeyViolation)
DETAIL:  Key (id)=(5b6a095d-d5ff-44be-b6b5-d933259629e8) is still referenced from table "marketplace_tax_rates".

  app/controllers/furnitures_controller.rb:43:in `destroy'
    furniture.furniture.destroy!
  app/models/neighborhood/time_zone_mixin.rb:7:in `set_time_zone'
    Time.use_zone(ENV.fetch("NEIGHBORHOOD_TIME_ZONE"), &)
...
(115 additional frame(s) were not displayed)

ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR:  update or delete on table "furnitures" violates foreign key constraint "fk_rails_52134930a6" on table "marketplace_tax_rates" (ActiveRecord::InvalidForeignKey)
DETAIL:  Key (id)=(5b6a095d-d5ff-44be-b6b5-d933259629e8) is still referenced from table "marketplace_tax_rates".
@sentry-io sentry-io bot added the 🐞 bug Something isn't working label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants