Dialog opening error
Hello everyone,
I have a problem with a custom component, I have created a component with sections 1 with a core title component and one with 4 teaser cores, I imported them into the code like this
<div class="aem-Grid aem-Grid--12">
<div class="aem-GridColumn aem-GridColumn--default--6">
<sly
data-sly-resource="${ 'title' @ resourceType='mrll/components/title' }"
></sly>
</div>
<div class="aem-GridColumn aem-GridColumn--default--6">
<div class="aem-Grid aem-Grid--12">
<div class="aem-GridColumn aem-GridColumn--default--6">
<sly
data-sly-resource="${ 'teaser1' @ resourceType='mrll/components/teaser', decoration=true }"
></sly>
</div>
<div class="aem-GridColumn aem-GridColumn--default--6">
<sly
data-sly-resource="${ 'teaser2' @ resourceType='mrll/components/teaser', decoration=true }"
></sly>
</div>
<div class="aem-GridColumn aem-GridColumn--default--6">
<sly
data-sly-resource="${ 'teaser3' @ resourceType='mrll/components/teaser', decoration=true }"
></sly>
</div>
<div class="aem-GridColumn aem-GridColumn--default--6">
<sly
data-sly-resource="${ 'teaser4' @ resourceType='mrll/components/teaser', decoration=true }"
></sly>
</div>
</div>
</div>
</div>
when I try to open the dialogue of the teaser embedded in my custom component, the console fails and does not open the dialogue, even more than the other components.
granite.lc-011c0fc0d0cf131bdff879743a353002-lc.min.js:7
GET http://localhost:4502/mnt/override/libs/core/wcm/components/teaser/v2/teaser/_cq_dialog.html/content/mrll/us/marelli-component/jcr:content/root/container/container/teaser_info/teaser1?resourceType=mrll%2Fcomponents%2Fteaser&_=1705519185887 404 (Not Found)
thank you