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

Error deleting a collection with localized entries #3890

Closed
arthurperton opened this issue Jun 22, 2021 · 0 comments · Fixed by #9165
Closed

Error deleting a collection with localized entries #3890

arthurperton opened this issue Jun 22, 2021 · 0 comments · Fixed by #9165

Comments

@arthurperton
Copy link
Contributor

Bug Description

When you delete a collection with entries that are published on multiple sites, you get an error.

How to Reproduce

  1. Set up multisite
  2. Add a collection and select multiple sites for it (two is enough)
  3. Add an entry and publish it on multiple sites
  4. Delete the collection

Extra Detail

Cannot delete an entry with localizations. at .../statamic/vendor/statamic/cms/src/Entries/Entry.php:156

Environment

Statamic 3.1.25 Pro
Laravel 8.41.0
PHP 7.4.16
No addons installed

Install method:
Fresh install from statamic/statamic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants