Author: jleroux
Date: Sat Oct 18 17:59:02 2014
New Revision: 1632827

URL: http://svn.apache.org/r1632827
Log:
"Applied fix from trunk for revision: 1632733" 
------------------------------------------------------------------------
r1632733 | ashish | 2014-10-18 08:17:49 +0200 (sam. 18 oct. 2014) | 14 lignes

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/release11.04/   (props changed)
    
ofbiz/branches/release11.04/framework/common/webcommon/WEB-INF/common-controller.xml

Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1632733

Modified: 
ofbiz/branches/release11.04/framework/common/webcommon/WEB-INF/common-controller.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/common/webcommon/WEB-INF/common-controller.xml?rev=1632827&r1=1632826&r2=1632827&view=diff
==============================================================================
--- 
ofbiz/branches/release11.04/framework/common/webcommon/WEB-INF/common-controller.xml
 (original)
+++ 
ofbiz/branches/release11.04/framework/common/webcommon/WEB-INF/common-controller.xml
 Sat Oct 18 17:59:02 2014
@@ -159,7 +159,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">


Reply via email to