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

2021-02-12 Thread Giulio Speri (Jira)


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

Giulio Speri commented on OFBIZ-12173:
--

[~pawan] nice, thank you and have a good day!

> 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
> Fix For: Release Branch 18.12, Release Branch 17.12
>
> 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)


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

2021-02-11 Thread ASF subversion and git services (Jira)


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

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

Commit 38419ef257a9de03fd8ac76c78b3d296fc99deb9 in ofbiz-plugins's branch 
refs/heads/release17.12 from Pawan Verma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=38419ef ]

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)


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

2021-02-11 Thread ASF subversion and git services (Jira)


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

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

Commit 7afe2b73e596969f56a5f7ea782387e35b1561dd in ofbiz-plugins's branch 
refs/heads/release18.12 from Pawan Verma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=7afe2b7 ]

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)


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

2021-02-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2021-02-11 Thread Deepak Dixit (Jira)


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

Deepak Dixit commented on OFBIZ-12173:
--

I think instead of parameters.session we can use 
{color:#00}UtilHttp{color}.getSessionId(request)

> 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)


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

2021-02-08 Thread Jacopo Cappellato (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2021-02-08 Thread Giulio Speri (Jira)


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

Giulio Speri commented on OFBIZ-12173:
--

I provide here the patch to fix the issue.

[^OFBIZ-12173_Visit_disabling_causes_NullPointerException.patch]

> 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: 17.12.03, Trunk, 17.12.04, 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)