Product ideas | Community
Skip to main content

Filter by idea status

10000 Ideas

vijayt86226372New Participant

Check for Similarity / Identical Assets while uploading new Assets in DAMDeclined

WHAT WE HAVE In AEM x.x.x version we have mechanism to check duplicate images being uploading in DAM which is supported by unique SHA1 value.This verification process is done during uploading of new Assets. 1. By enabling duplicate OSGI  asset service 2. OOTB mechanism is the SHA1 value check. Currently ,  other way of achieving similarity/ identical  is by using Sensei which will be based on tags but this process is again done AFTER successful Asset upload and enabling of SMART tags to specific folders. WHAT WE DO NOT HAVE We do not have mechanism where a Author WHILE uploading can know if there is any  similar / identical assets i.e. Assets which have been cropped or change in color shade etc. This should not be related to any property value check or SHA1 value instead check the pixels or any other parameter. AUTHORING Challenges use caseIn our current system we have thousands of pages with images of business leaders with different dimensions / cropped belonging to  different departments.The challenge for AUTHORS is if any leader resigns then his/her photo needs to be updated for the corresponding pages which can only be done after uploading a new photo in DAM. There is no way they can identify the pages where this new photo matches and then take necessary actions. The only one way they can achieve is by enabling SMART tags to the folders and then do Asset Search which is again driven by Tags.With our traditional approach of managing sites this is not possible mostly.  

Shashi_Mulugu
Shashi_MuluguNew Participant

Issue with unclosed resource resolver in OOTB scene7 BundleDeclined

Hello Team, We are using AEM 6.4.2 integrated with Dynamic Media. Here to fetch the URL of synced asset we are using com.day.cq.dam.s7dam.common.utils.PublishUtilsImpl.externalizeImageDeliveryAsset() by passing the resource object of the asset. We are seeing the unclosed resource resolver issue in logs. Please suggest. Any other way to fetch the DM published URL if not above? I suspect that in "com.day.cq.dam.scene7.impl.Scene7AEMBridgeImpl" resourceresolver might not be closed after processing. 14.10.2020 02:20:14.950 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.14.10.2020 02:20:14.950 *INFO* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Unclosed ResourceResolver was created here:java.lang.Exception: Opening Stacktraceat org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl$ResolverReference.<init>(CommonResourceResolverFactoryImpl.java:521) [org.apache.sling.resourceresolver:1.5.34]at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:218) [org.apache.sling.resourceresolver:1.5.34]at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:101) [org.apache.sling.resourceresolver:1.5.34]at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:94) [org.apache.sling.resourceresolver:1.5.34]at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:263) [org.apache.sling.resourceresolver:1.5.34]at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getServiceResourceResolver(ResourceResolverFactoryImpl.java:96) [org.apache.sling.resourceresolver:1.5.34]at com.day.cq.dam.scene7.impl.Scene7AEMBridgeImpl.getServiceUserScopedConfigResolver(Scene7AEMBridgeImpl.java:188) [com.day.cq.dam.cq-dam-scene7:5.11.108]at com.day.cq.dam.scene7.impl.Scene7AEMBridgeImpl.getS7configFromResource(Scene7AEMBridgeImpl.java:138) [com.day.cq.dam.cq-dam-scene7:5.11.108]at com.day.cq.dam.scene7.impl.ImageUrlApiImpl.getImageServerDeliveryURL(ImageUrlApiImpl.java:113) [com.day.cq.dam.cq-dam-scene7:5.11.108]at com.day.cq.dam.scene7.impl.ImageUrlApiImpl.getImageServerDeliveryURL(ImageUrlApiImpl.java:82) [com.day.cq.dam.cq-dam-scene7:5.11.108]at com.day.cq.dam.s7dam.common.utils.PublishUtilsImpl.externalizeImageDeliveryAsset(PublishUtilsImpl.java:260) [com.day.cq.dam.cq-dam-s7dam:5.11.168] @kautuk_sahni @vanegi @joerghoh @arunpatidar @dan_klco @hamid1350