[jira] [Commented] (OFBIZ-12173) Visit disabling causes NullPointerException on ecomm groovy script

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

[jira] [Commented] (OFBIZ-12173) Visit disabling causes NullPointerException on ecomm groovy script

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281601#comment-17281601 ]

Jacopo Cappellato commented on OFBIZ-12173:
-------------------------------------------

I confirm the reported error (I could recreate it) and also the fix looks good. Thanks

> Visit disabling causes NullPointerException on ecomm groovy script
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-12173
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12173
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Release Branch 18.12, Trunk, 17.12.05
>         Environment: Linux Ubuntu 18.04 LTS, Apache OFBiz v13.07.03
>            Reporter: Giulio Speri
>            Assignee: Giulio Speri
>            Priority: Blocker
>              Labels: visit
>         Attachments: OFBIZ-12173_Visit_disabling_causes_NullPointerException.patch, newcustomer_error.jpg
>
>
> Disable tracking of Visits and Visitors, setting false the value of stats.persist.visit stats.persist.visitor in serverstats.properties file, causes a NullPointerException in the groovy script ecommerce/groovyScript/customer/NewCustomer.groovy.
>  Attached here below a screenshot of the error.
> !newcustomer_error.jpg!
> This error also afflicts older version of OFBiz (the screenshot is taken from an ecommerce site running on OFBiz 13.07.03)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)