Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Yes
-
Empty show more show less
Description
Using STK we created a teaser, using the info.magnolia.module.templatingkit.paragraphs.InternalTeaserModel. If the target page of the teaser is deleted or moved, a NPE is thrown from the findImage() method. The calling method is getImage():
Content target = getTarget();
image = findImage(target);
If the target == null, findImage() should not be called.
Checklists
Acceptance criteria