Open HitmanInWis opened 5 months ago
This is now stale code and will be removed from core-components soon.
Next Gen DM support being removed? or updated? Can you tell me more?
No just this specific smartcrop functionality has now been replaced with a new one. The same functionality you get along with classic DM.
ok, so then does that make all of the NGDM stuff in WCM Core unnecessary (i.e. can be removed)?
Not all NGDM. Just the smartcrop dialog which was powered by fastly. It has been replaced with the smartcrop which is already present in dynamic media enabled AEM environment. I have raised a PR to remove the dead code - https://github.com/adobe/aem-core-wcm-components/pull/2781
Thank you! We can close this issue out as soon as #2781 is merged!
Version: 2.25.5-SNAPSHOT
Perhaps not a "bug" if nothing is broken, but
nextgendmthumbnail.html
is adapting the request to the completely unrelatedcom.adobe.cq.wcm.core.components.commons.editor.dialog.inherited.InheritedField
sling model just to be able to get aattrClass
attribute. This sling model has a very specific use for a field that inherits its value from a parent and allows for overrides (the "Brand Slug" field on page properties). Using it here is very unexpected, and could easily cause a problem in the future ifInheritedField
is refactored.To resolve this, all we need to do is add
getAttrClass
to theNextGenDMThumbnail
interface and impl...very simple update