Author: jleroux
Date: Mon Jun 26 08:21:34 2017
New Revision: 1799860
URL:
http://svn.apache.org/viewvc?rev=1799860&view=revLog:
Fixed: Error running the simple-method: Error running groovy script
(OFBIZ-9432)
Steps to reproduce the error:
Add producs to cart (i.e. 2 x RoundGizmo)
-> [Quick Checkout]
-> Checkout Without Login: Quick Checkout
-> Basic Information: fill in required fields
-> Continue
Error: unable to resolve class CartItemModifyException
jleroux: Groovy needs the complete path to CartItemModifyException
Found the same in CustomerEvents.xml
Thanks: Daniel Coric for report
Modified:
ofbiz/ofbiz-plugins/trunk/ecommerce/minilang/customer/CustomerEvents.xml
Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/minilang/customer/CustomerEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/minilang/customer/CustomerEvents.xml?rev=1799860&r1=1799859&r2=1799860&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/minilang/customer/CustomerEvents.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/minilang/customer/CustomerEvents.xml Mon Jun 26 08:21:34 2017
@@ -486,7 +486,7 @@ under the License.
// clear out the login fields from the cart
try {
if (cart!=null) cart.setAutoUserLogin(null, dispatcher);
- } catch (CartItemModifyException e) {
+ } catch (org.apache.ofbiz.order.shoppingcart.CartItemModifyException e) {
Debug.logError(e, module);
}
</script>
@@ -506,7 +506,7 @@ under the License.
// clear out the login fields from the cart
try {
if (cart!=null) cart.setUserLogin(userLogin, dispatcher);
- } catch (CartItemModifyException e) {
+ } catch (org.apache.ofbiz.order.shoppingcart.CartItemModifyException e) {
Debug.logError(e, module);
}
</script>