[jira] [Closed] (OFBIZ-9432) Error running the simple-method: Error running groovy script

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

[jira] [Closed] (OFBIZ-9432) Error running the simple-method: Error running groovy script

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-9432.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 16.11.04

Thanks Daniel,

Groovy needs the complete path to CartItemModifyException.

It's fixed in
trunk r1799859 + r1799860
R16.11 r1799862

Previous branches not concerned, was broken by OFBIZ-7765

> Error running the simple-method: Error running groovy script
> ------------------------------------------------------------
>
>                 Key: OFBIZ-9432
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9432
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Release Branch 16.11
>         Environment: Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
>            Reporter: Daniel Coric
>            Assignee: Jacques Le Roux
>             Fix For: 16.11.04
>
>
> The Following Errors Occurred:
> Error running the simple-method: Error running groovy script [<br/> // clear out the login fields from the cart<br/> try {<br/> if (cart!=null) cart.setAutoUserLogin(null, dispatcher);<br/> } catch (CartItemModifyException e) {<br/> Debug.logError(e, module);<br/> }<br/> ]: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:<br/>Script5.groovy: 5: unable to resolve class CartItemModifyException <br/> @ line 5, column 23.<br/> } catch (CartItemModifyException e) {<br/> ^<br/><br/>1 error<br/> Method = createUpdateCustomer, File = file:/home/daniel/Development/Repositories/subversion/ofbiz-16.11/specialpurpose/ecommerce/minilang/customer/QuickAnonCustomerEvents.xml, Element = <script>, Line 507null
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)