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]: Cannot delete Data Objects which are not in the index #277

Open
IronSean opened this issue Dec 4, 2024 · 1 comment
Open

[Bug]: Cannot delete Data Objects which are not in the index #277

IronSean opened this issue Dec 4, 2024 · 1 comment

Comments

@IronSean
Copy link

IronSean commented Dec 4, 2024

Expected behavior

If you try to delete an item which is not in the index, it should delete as the expected end result is the item no longer exists in Pimcore or the index.

Actual behavior

If you try to delete an object not in the index, it fails to delete the item in Pimcore because It is not in the index.

Steps to reproduce

  1. Create an item not in the index.
  2. Try to delete the item on the Pimcore UI.
@IronSean IronSean added the Bug label Dec 4, 2024
@IronSean IronSean changed the title [Bug]: [Bug]: Cannot delete Data Objects which are not in the index Dec 4, 2024
Copy link

Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.

DanielLaranjeira063 added a commit to DanielLaranjeira063/advanced-object-search that referenced this issue Jan 15, 2025
This fixes issue pimcore#277

It checks if the item exists first in the index before trying to delete it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant