Hi All,
Used Social Media share Core component available in AeM 6.4 & 6.5 vanilla instances. Created and authored proxy component of it on page, enabled properties on Social Media Tab of page & 'View as published' but icons of FB, Pinterest are not visible.
Installed Core components 2.9 + versions package as well & try the same but still the issue of icons are not show-up on page.
Anything else needs to be done, to make it work. Inputs would be really appreciated.
Below is observed as per log:
*ERROR* [[0:0:0:0:0:0:0:1] [1633509295176] GET /content/we-retail/us/en/men.html HTTP/1.1]
org.apache.sling.scripting.sightly.render.ObjectModel Cannot access method metadata on object com.adobe.cq.wcm.core.components.internal.models.v1.SocialMediaHelperImpl@4b48ddf2
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
Views
Replies
Total Likes
Hi @rsl_lucky,
Per the log statements, SocialMediaHelper's getMetadata() method (which is responsible for retrieving the og:url and og:image) is not accessible which implies issue in core components bundle (which has the implementation class)
Cross check the core components bundle version and if it is active (as available in Felix console - http://localhost:4502/system/console/)
Please do let know how you are including the Core components to your instance. (is it direct install or via maven project)
Core component bundle is in "Active" state and can see Models export. Core components are Directly installed on instance thru package manager.
As per logs can see only below after authoring on page not sure exactly. Please let me know if anything.
*WARN* [0:0:0:0:0:0:0:1 [1633963126733] GET /content/we-retail/test--page.html HTTP/1.1] org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceResolvingStrategy Ignoring reference to /conf/we-retail/settings from /conf/we-retail/settings - Probably misconfigured as it ends with '/settings'
Views
Likes
Replies
Views
Likes
Replies