This is an automated email from the ASF dual-hosted git repository. pawan pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push: new 728354a Fixed: Visit disabling causes NullPointerException on ecomm groovy script(OFBIZ-12173) 728354a is described below commit 728354a0cb6b0a6874d6e1627826978b776ce8c4 Author: Pawan Verma <pawan.ve...@hotwaxsystems.com> AuthorDate: Fri Feb 12 09:25:01 2021 +0530 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. --- ecommerce/groovyScripts/customer/NewCustomer.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecommerce/groovyScripts/customer/NewCustomer.groovy b/ecommerce/groovyScripts/customer/NewCustomer.groovy index e765a3d..cfa093b 100644 --- a/ecommerce/groovyScripts/customer/NewCustomer.groovy +++ b/ecommerce/groovyScripts/customer/NewCustomer.groovy @@ -54,5 +54,5 @@ if (userInfoMap) { request.getSession().setAttribute("userInfoMap", userInfoMap) } -donePage = "main;" + parameters.visit.sessionId +donePage = "main;" + UtilHttp.getSessionId(request) context.donePage = donePage