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

Datasource option in Property Filter component is thowing error in Author instance #1170

Open
ajaykr020491 opened this issue Aug 28, 2024 · 0 comments
Labels

Comments

@ajaykr020491
Copy link

ajaykr020491 commented Aug 28, 2024

On Adding the Property Filter and using Datasource as Source, triggers below error in Authoring instance.

28.08.2024 14:03:15.110 *ERROR* [[0:0:0:0:0:0:0:1] [1724833994895] GET /content/asset-share-commons/en/light.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during include of SlingRequestPathInfo: path='/content/asset-share-commons/en/light/jcr:content/root/rail/responsivegrid/property_836440514', selectorString='null', extension='html', suffix='null'
org.apache.sling.scripting.sightly.SightlyException: Identifier com.adobe.aem.commons.assetshare.components.predicates.PropertyPredicate cannot be correctly instantiated by the Use API
	at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:76) [org.apache.sling.scripting.sightly:1.4.20.140]
	at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:72) [org.apache.sling.scripting.sightly:1.4.20.140]
	at org.apache.sling.scripting.sightly.apps.asset__002d__share__002d__commons.components.search.property.property__002e__html.render(property__002e__html.java:44)
	at org.apache.sling.scripting.sightly.render.RenderUnit.render(RenderUnit.java:53) [org.apache.sling.scripting.sightly.runtime:1.2.6.140]

AEM Version: AEM as Cloud Service
Asset Share Commons Version:3.8.10
On Author instance
SDK version: 2024.4.16145.20240430T082417Z-240400

To Reproduce
Steps to reproduce the behavior:

  1. Go to Asset Share Commons landing page
  2. Add a Property Filter Component in the filter section.
  3. Author the Property filter. Select the Source as "Datasource" and provide a test datasource path.

Expected behavior
There Should not be any error in the log file.

Screenshots
Screenshot 2024-08-28 142928

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

No branches or pull requests

2 participants