aem-core-wcm-components
aem-core-wcm-components copied to clipboard
Teaser Image links current page if no link specified
If a teaser with no link has:
- Title specified -> NOT linked (correct)
- Image specified -> NOT linked (correct)
If a teaser with no link has:
- Title NOT specified
- Other fields like Pretitle and Description specified (never linked)
- Image specified -> linked to the current page (BUG)
Basically the image is linking the current page automatically unless the link is being suppressed by a Title being present. However, since Title is NOT linked in the case that a teaser has no link, the Image should also NOT be linked when it is by itself.