trunk: Product detail crashes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

trunk: Product detail crashes

Mike Z
Latest trunk (even on demo) displaying detail of product.

Expression productImageList is undefined on line 346, column 14 in
component://ecommerce/webapp/ecommerce/catalog/productdetail.ftl. The
problematic instruction: ---------- ==> if-else [on line 346, column 9 in
component://ecommerce/webapp/ecommerce/catalog/productdetail.ftl] ----------
Java backtrace for programmers: ----------
freemarker.core.InvalidReferenceException: Expression productImageList is
undefined on line 346, column 14 in
component://ecommerce/webapp/ecommerce/catalog/productdetail.ftl. at
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:121)
at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at
freemarker.core.IfBlock.accept(IfBlock.java:80) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
....etc....
Reply | Threaded
Open this post in threaded view
|

Re: trunk: Product detail crashes

hans_bakker
Hi Mike,

thank you for the report, the error is fixed in revision 108852

Regards,
Hans

On Sun, 2011-04-03 at 20:42 -0700, Mike wrote:

> Latest trunk (even on demo) displaying detail of product.
>
> Expression productImageList is undefined on line 346, column 14 in
> component://ecommerce/webapp/ecommerce/catalog/productdetail.ftl. The
> problematic instruction: ---------- ==> if-else [on line 346, column 9 in
> component://ecommerce/webapp/ecommerce/catalog/productdetail.ftl] ----------
> Java backtrace for programmers: ----------
> freemarker.core.InvalidReferenceException: Expression productImageList is
> undefined on line 346, column 14 in
> component://ecommerce/webapp/ecommerce/catalog/productdetail.ftl. at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
> freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:121)
> at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at
> freemarker.core.IfBlock.accept(IfBlock.java:80) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> ....etc....

--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.