Closed capSuren closed 8 months ago
We can close this.
We identified the issue is with our custom code which was interfering with the core components.
The fix:
We were using Image component in one of our Teaser component. We removed the defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL
// PREVIOUS: @Model(adaptables = {SlingHttpServletRequest.class}, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL, resourceType = "project/components/teaser", adapters = {Teaser.class})
@Model(adaptables = {SlingHttpServletRequest.class}, resourceType = "project/components/teaser", adapters = {Teaser.class})
@Exporter(name = "jackson", extensions = "json")
public class ProjectTeaserModel extends AbstractComponent implements Teaser {
...
// PREVIOUS: @ValueMapValue
@ValueMapValue(injectionStrategy = InjectionStrategy.OPTIONAL)
@Getter
public String accessibilityText;
...
}
And the "Configure" dialog shows up now:
Bug Report
Current Behavior On our project we are seeing an issue with Image core component - v3, that on edit of the component, we do not see the dialog box popup. We can add an image but dialog does not show. The same is also reproduceable on a Wknd site ( https://github.com/adobe/aem-guides-wknd/tree/aem-guides-wknd-3.2.0 )
Steps: Add a new page using Content page template Add an Image component > select "Configure" option, the popup does not display.
Add an image - drag/drop an asset, but still "configure" option does not show the popup.
Seeing this error on Console
.content.xml
and _cq_editConfig.xml
Expected behavior/code Author able to view the popup to update the image options.
Environment
Possible Solution
Additional context / Screenshots