/[Apache-SVN]
ViewVC logotype

Revision 1778889


Jump to revision: Previous Next
Author: jleroux
Date: Sun Jan 15 07:37:35 2017 UTC (7 years, 3 months ago)
Changed paths: 14
Log Message:
Fixed: add item to order cause exception
(OFBIZ-9167)

-go to https://localhost:8443/ordermgr/control/orderentry
-create order for DemoCustomer
-add an item

console output...
java.lang.NullPointerException
        at org.apache.ofbiz.content.content.ContentWorker.
renderContentAsText(ContentWorker.java:368) ~[ofbiz.jar:?]
[...]

While at it I also found issues with cartLine.getName() in ftl files. It was
also missing the dispatcher. 

This was broken by OFBIZ-9164

Thanks: Wai

Changed paths

Path Details
Directoryofbiz/trunk/applications/order/groovyScripts/entry/CheckoutReview.groovy modified , text changed
Directoryofbiz/trunk/applications/order/groovyScripts/entry/ShowCart.groovy modified , text changed
Directoryofbiz/trunk/applications/order/src/main/java/org/apache/ofbiz/order/order/OrderServices.java modified , text changed
Directoryofbiz/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCart.java modified , text changed
Directoryofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl modified , text changed
Directoryofbiz/trunk/applications/order/template/entry/SplitShip.ftl modified , text changed
Directoryofbiz/trunk/applications/order/template/entry/cart/MiniCart.ftl modified , text changed
Directoryofbiz/trunk/applications/order/template/entry/cart/ShowCartItems.ftl modified , text changed
Directoryofbiz/trunk/plugins/ecommerce/groovyScripts/order/CheckoutReview.groovy modified , text changed
Directoryofbiz/trunk/plugins/ecommerce/template/cart/ShowCart.ftl modified , text changed
Directoryofbiz/trunk/plugins/ecommerce/template/cart/UpdateCart.ftl modified , text changed
Directoryofbiz/trunk/plugins/ecommerce/template/order/SplitShip.ftl modified , text changed
Directoryofbiz/trunk/plugins/webpos/template/cart/ShowCart.ftl modified , text changed
Directoryofbiz/trunk/plugins/webpos/template/cart/ShowCartItemSelected.ftl modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26