svn commit: r1632790 - /ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml

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

svn commit: r1632790 - /ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml

ashish-18
Author: ashish
Date: Sat Oct 18 13:47:59 2014
New Revision: 1632790

URL: http://svn.apache.org/r1632790
Log:

Applied bug fix changes from trunk r1632733.
======================================================

Applied bug fix from jira issue - OFBIZ-5632 - Changing Visual theme in Order manager results in error message.
===========================================================
The reported issue has been observed in the order manager application. It happens when there's no shopping cart in the session.

Steps to test -
1. Try changing visual theme in the order manager application.

Observations -
1. Returns ERROR MESSAGE - org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://order/widget/ordermgr/OrderEntryOrderScreens.xml#quickFinalizeOrder: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: java.lang.NullPointerException: Cannot invoke method getRelated() on null object (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: java.lang.NullPointerException: Cannot invoke method getRelated() on null object)

Thanks.
===========================================================
Thanks Vyom for reporting the issue and Thanks Pranay for providing the patch for the same.

Modified:
    ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml

Modified: ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml?rev=1632790&r1=1632789&r2=1632790&view=diff
==============================================================================
--- ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml (original)
+++ ofbiz/branches/release12.04/framework/common/webcommon/WEB-INF/common-controller.xml Sat Oct 18 13:47:59 2014
@@ -153,7 +153,7 @@ under the License.
     <!-- Visual theme mapping -->
     <request-map uri="ListVisualThemes">
         <security https="true" auth="true"/>
-        <response name="success" type="view" value="ListVisualThemes"/>
+        <response name="success" type="view" value="ListVisualThemes" save-last-view="true"/>
     </request-map>
 
     <request-map uri="main">