adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
737 stars 745 forks source link

[Embed v2] Wrong documentation or Embeddedable version #2502

Open Shaihuludus opened 1 year ago

Shaihuludus commented 1 year ago

Bug Report

Current Behavior Custom embeddable are not available in policy screen and later in embed dialog. After the upgrade of Embed from version V1 to V2 custom embeddedable became unavailable.

According to readme custom embeddings should have supertype core/wcm/components/embed/v2/embed/embeddable but Servlet responsible for finding these types for policy setup is looking for core/wcm/components/embed/v1/embed/embeddable

EmbeddablesDataSourceServlet L98

Expected behavior/code Working according to README after update. Embed V2 should correctly use V2 Embeddedable.

Akanksha145 commented 10 months ago

Do we have a solution to above issue or is it logged/plan to fix? We are seeing a similar issue when using v2 for adding custom embeddable, so instead have to use v1 for now.