[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=17283485#comment-17283485 ]

ASF subversion and git services commented on OFBIZ-12173:
---------------------------------------------------------

Commit 728354a0cb6b0a6874d6e1627826978b776ce8c4 in ofbiz-plugins's branch refs/heads/trunk from Pawan Verma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=728354a ]

Fixed: Visit disabling causes NullPointerException on ecomm groovy script(OFBIZ-12173)

Used UtilHttp.getSessionId() instead of visit to get session Id.

Thanks: Giulio, Jacopo and Deepak.


> 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: Pawan Verma
>            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)