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

Taxonomy entries will still be shown after they have been deleted #1349

Closed
jonassiewertsen opened this issue Feb 13, 2020 · 5 comments · Fixed by #2686
Closed

Taxonomy entries will still be shown after they have been deleted #1349

jonassiewertsen opened this issue Feb 13, 2020 · 5 comments · Fixed by #2686

Comments

@jonassiewertsen
Copy link
Contributor

After deleting a Taxonomy Entry, the entry itself is not disappearing.

After deleting the stache, everything is fine.

STATAMIC VERSION: Beta 15

out

@jackmcdade
Copy link
Member

I can't recreate this issue. :think: Have you changed any of the cache settings in config/statamic?

@jasonvarga
Copy link
Member

I believe this happens when you still have entries using that term.

Deleting the term only deletes the file. If you still have it in the entry it will just get magically recreated (without a term file).

@jonassiewertsen
Copy link
Contributor Author

@jackmcdade The cache settings are the default settings.
@jasonvarga I did only create a test taxonomy entry for the demo above. No entries are using the term.

@syntheticminds
Copy link
Contributor

I've found some weirdness with this.

Create a term called FBI. It saves but it's now fbi in the listing.
Clear Stache and refresh the taxonomy term listing. It's now FBI.
Delete it and it's gone.

Create a term called FBI. It saves and shows as FBI in the listing.
Delete it and the YAML file is gone but it shows fbi in the listing.
Clear Stache and it's gone.

@marcomezzavilla
Copy link

marcomezzavilla commented Mar 21, 2020

The same problem happens to me when I change the slug of a term. Then it is no longer possible to delete it via UI.

Even if I try to erase the whole taxonomy, recreating a new one with the same name, I see the "old term" waiting for me (:

Statamic beta 19
PHP 7.3.6

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

Successfully merging a pull request may close this issue.

5 participants