<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error removing the folder metadata schema in Adobe Experience Manager Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451645#M33150</link>
    <description>&lt;P&gt;&lt;LI-USER uid="15976637"&gt;&lt;/LI-USER&gt;&amp;nbsp; Can you please mention on which version of AEM are you trying this? I tried with fresh new instance of AEM 6.5 with we-retailer and it seems working fine for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any custom code that you have written for metadata?&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 10:38:38 GMT</pubDate>
    <dc:creator>Jagadeesh_Prakash</dc:creator>
    <dc:date>2022-05-12T10:38:38Z</dc:date>
    <item>
      <title>Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451621#M33147</link>
      <description>&lt;P&gt;Hello&amp;nbsp; Everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am encountering an issue while removing folders with folder metadata schema,&lt;/P&gt;&lt;P&gt;The steps followed to replicate the issue is here,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I have created a new folder metadata schema "testdisp" on page &lt;A href="http://localhost:4502/mnt/overlay/dam/gui/content/foldermetadataschemaeditor/schemalist.html?formPath=/conf/global/settings/dam/adminui-extension/foldermetadataschema" target="_blank"&gt;http://localhost:4502/mnt/overlay/dam/gui/content/foldermetadataschemaeditor/schemalist.html?formPath=/conf/global/settings/dam/adminui-extension/foldermetadataschema&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Edited this newly created testdisp schema to add some properties.&lt;/LI&gt;&lt;LI&gt;Save changes&lt;/LI&gt;&lt;LI&gt;Click on "Apply to folder(s)" to apply on some folders (eg ) /conten/dam/weretail&lt;/LI&gt;&lt;LI&gt;Click on "Remove from folder(s)" to see all the folders that this schema is applied on&lt;/LI&gt;&lt;LI&gt;I am getting an error message "Something went wrong."&lt;/LI&gt;&lt;LI&gt;On logs i see the below error&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; GET /mnt/overlay/dam/gui/content/processingprofilepage/removeppwizard/destination.html/content/dam HTTP/1.1] org.apache.jackrabbit.oak.plugins.
index.Cursors$TraversingCursor Traversed 50000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [nt:base] as a where [jcr:content/folderMetadataSchema] = '/conf/global/settings/dam/a
dminui-extension/foldermetadataschema/testdisp' and isdescendantnode(a, '/content/dam') and [hidden] = 'false' union select [jcr:path], [jcr:score], * from [nt:base] as a where [jcr:content/folderMetadat
aSchema] = '/conf/global/settings/dam/adminui-extension/foldermetadataschema/testdisp' and isdescendantnode(a, '/content/dam') and [hidden] is null order by [jcr:created] desc /* xpath: /jcr:root/content
/dam//*[((@hidden = 'false' or not(@hidden)) and jcr:content/@folderMetadataSchema = '/conf/global/settings/dam/adminui-extension/foldermetadataschema/testdisp')] order by &lt;LI-USER uid="6655266" login="jcr"&gt;&lt;/LI-USER&gt;:created descending */, pat
h=/content/dam//*, property=[hidden=[false], jcr:content/folderMetadataSchema=[/conf/global/settings/dam/adminui-extension/foldermetadataschema/testdisp]]); consider creating an index or changing the que
ry
12.05.2022 07:22:25.194 *ERROR* [52.31.51.99 [1652340144612] GET /mnt/overlay/dam/gui/content/processingprofilepage/removeppwizard/destination.html/content/dam HTTP/1.1] org.apache.sling.engine.impl.Slin
gRequestProcessorImpl service: Uncaught SlingException
java.lang.UnsupportedOperationException: The query read or traversed more than 50000 nodes. To avoid affecting other tasks, processing was stopped.
        at org.apache.jackrabbit.oak.query.FilterIterators.checkReadLimit(FilterIterators.java:70) [org.apache.jackrabbit.oak-core:1.8.24]
        at org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor.fetchNex&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does some one know where to update this query ?&lt;BR /&gt;- OR -&lt;BR /&gt;Is there any additional query parameters we can pass to make this work ?&lt;BR /&gt;-OR-&lt;BR /&gt;What index can we update ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 07:56:03 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451621#M33147</guid>
      <dc:creator>Phoenics</dc:creator>
      <dc:date>2022-05-12T07:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451626#M33148</link>
      <description>&lt;P&gt;&lt;LI-USER uid="15976637"&gt;&lt;/LI-USER&gt;&amp;nbsp; Seems like there is a query getting triggered on the /content/dam root path. It is suggested to do the query on the specific path rather than root paths&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 08:12:49 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451626#M33148</guid>
      <dc:creator>Jagadeesh_Prakash</dc:creator>
      <dc:date>2022-05-12T08:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451633#M33149</link>
      <description>&lt;P&gt;&lt;LI-USER uid="14968223"&gt;&lt;/LI-USER&gt;&amp;nbsp;I understand that a query is getting triggered.&lt;BR /&gt;My question was where exactly can we update this query.&lt;BR /&gt;&lt;BR /&gt;As you know this is an OOB service&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 08:33:34 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451633#M33149</guid>
      <dc:creator>Phoenics</dc:creator>
      <dc:date>2022-05-12T08:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451645#M33150</link>
      <description>&lt;P&gt;&lt;LI-USER uid="15976637"&gt;&lt;/LI-USER&gt;&amp;nbsp; Can you please mention on which version of AEM are you trying this? I tried with fresh new instance of AEM 6.5 with we-retailer and it seems working fine for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any custom code that you have written for metadata?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 10:38:38 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451645#M33150</guid>
      <dc:creator>Jagadeesh_Prakash</dc:creator>
      <dc:date>2022-05-12T10:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451650#M33151</link>
      <description>&lt;P&gt;I just tried and it's working fine for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;AEM Versions= 6.5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anoop_Garg_0-1652353710037.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/40919i856D0CC790CCFEEB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Anoop_Garg_0-1652353710037.png" alt="Anoop_Garg_0-1652353710037.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 11:08:52 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451650#M33151</guid>
      <dc:creator>Anoop_Garg</dc:creator>
      <dc:date>2022-05-12T11:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451797#M33152</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="14968223"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My AEM version is 6.4.8.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes this works on plain vanilla instance .&lt;BR /&gt;However i have some 1 TB of assets on my DAM system.&lt;BR /&gt;&lt;BR /&gt;Thats when I see this issue .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 07:19:37 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451797#M33152</guid>
      <dc:creator>Phoenics</dc:creator>
      <dc:date>2022-05-13T07:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error removing the folder metadata schema</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451798#M33153</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="7262092"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes this works on plain vanilla instance.&lt;/P&gt;&lt;P&gt;The issue is only when you have a huge asset data (~ 1 TB assets on /content/dam)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 07:21:37 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-removing-the-folder-metadata-schema/m-p/451798#M33153</guid>
      <dc:creator>Phoenics</dc:creator>
      <dc:date>2022-05-13T07:21:37Z</dc:date>
    </item>
  </channel>
</rss>

