[ 
http://jira.magnolia-cms.com/browse/MGNLSTK-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ondřej Chytil resolved MGNLSTK-650.
-----------------------------------

    Fix Version/s: 1.3.2
       Resolution: Fixed

In original paragraph "internaPage" is condition which handles this problem.

> InternalTeaserModel throws NPE when target does not exist (anymore)
> -------------------------------------------------------------------
>
>                 Key: MGNLSTK-650
>                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-650
>             Project: Magnolia Standard Templating Kit
>          Issue Type: Bug
>          Components: paragraphs
>            Reporter: Bert Leunis
>            Assignee: Ondřej Chytil
>             Fix For: 1.3.2
>
>         Attachments: standard-templating-kit-parent.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to