It became http://jira.magnolia-cms.com/browse/MGNLSTK-650

I'll supply a patch soon.

Bert
________________________________
Van: [email protected] [[email protected]] namens 
Jan Haderka [[email protected]]
Verzonden: donderdag 1 juli 2010 12:16
Aan: Magnolia User-List
Onderwerp: Re: [magnolia-user] STK InternalTeaserModel throws NPE

Ouch, seems like a new bug to me. Please Jira.

Thanks,
Jan

On Jul 1, 2010, at 11:32 AM, Bert Leunis wrote:

Hi Magnolians,

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.

Is this a known bug? I can't find it in jira.

By the way: this site has the same problem it seems: 
http://www.payoff.ch/news/teaser/Die-Basler-Kantonalbank-baut-ihr-Warrants-Angebot-aus.html.
 You have to scroll down to see the error.

Regards, Bert




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




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

----------------------------------------------------------------
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