[MSHOP-89] Freemarker error in cart.ftl when product has empty title Created: 09/Sep/13  Updated: 06/Jan/15  Resolved: 19/Dec/14

Status: Closed
Project: Magnolia Shop (closed)
Component/s: None
Affects Version/s: 1.1.3
Fix Version/s: 1.1.5, 2.0.1, 2.1

Type: Bug Priority: Major
Reporter: Jaroslav Simak Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   
2013-09-09 10:32:36,602 ERROR freemarker.runtime                                : Template processing error: "Expression product.productTitle is undefined on line 20, column 64 in shop/paragraphs/extras/cart.ftl."

Expression product.productTitle is undefined on line 20, column 64 in shop/paragraphs/extras/cart.ftl.
The problematic instruction:
----------
==> ${product.productTitle} [on line 20, column 62 in shop/paragraphs/extras/cart.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression product.productTitle is undefined on line 20, column 64 in shop/paragraphs/extras/cart.ftl.


 Comments   
Comment by Robert Šiška [ 19/Dec/14 ]

Fixed only on 1.1.x branch because a product can't be created without a title in 5.x anyway.

Generated at Mon Feb 12 07:09:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.