Hello,
I'm getting the "Failed to Delete" error when I try to delete any of my Assets. I'm signed in as an Admin with all of the correct privileges. Given that I have recently migrated our content to DITA, I have recently uploaded a significant amount of DITA topics, maps, and associated graphics, we think this could be some kind of indexing error ...?
We are in AEM6.5.
The error logs show the following:
(A)
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@apatter1 Its doing the traversal for the below query when you tried to delete
select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and contains(*, '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai') and isdescendantnode(a, '/content/dam') order by [jcr:created] desc option(index tag [visualSimilaritySearch])
Try to see the below oak:index is there already.. it should be there.. if not please update it like below and reindex it and see
I have created the above index using https://oakutils.appspot.com/generate/index
@apatter1 Its doing the traversal for the below query when you tried to delete
select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and contains(*, '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai') and isdescendantnode(a, '/content/dam') order by [jcr:created] desc option(index tag [visualSimilaritySearch])
Try to see the below oak:index is there already.. it should be there.. if not please update it like below and reindex it and see
I have created the above index using https://oakutils.appspot.com/generate/index
The issue seems to be that, prior to deletion, the asset is attempting to access all the "related assets." As a result, the query mentioned as (A) is being executed. However, due to the index problem, this query fails, preventing you from safely deleting the assets and leading to the error.
Most likely, resolving the query issue with the appropriate index definition will also resolve your deletion problem. Please be aware that there were some known issues related to the tag "visualSimilaritySearch" in some service packs, and a manual fix was provided. I don't know your service pack version, but this might be relevant in your case as well: https://docs.mktossl.com/docs/experience-manager-65/release-notes/service-pack/6.5.11.html?lang=en
@apatter1 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies