svn commit: r1838383 - in /ofbiz/ofbiz-plugins/branches/release17.12: ./ ecommerce/groovyScripts/catalog/LayeredNavigation.groovy

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

svn commit: r1838383 - in /ofbiz/ofbiz-plugins/branches/release17.12: ./ ecommerce/groovyScripts/catalog/LayeredNavigation.groovy

jleroux@apache.org
Author: jleroux
Date: Sun Aug 19 15:31:41 2018
New Revision: 1838383

URL: http://svn.apache.org/viewvc?rev=1838383&view=rev
Log:
"Applied fix from plugins for revision: 1838381  "
------------------------------------------------------------------------
r1838381 | jleroux | 2018-08-19 17:30:42 +0200 (dim. 19 août 2018) | 8 lignes

Fixed: Search in Ecommerce no longer works
(OFBIZ-10531)

I guess that when I worked on OFBIZ-9164 I broke that.

I found 3 occurences where the dispatcher was not in the session because the
session comes from the request and the request has not it in.

------------------------------------------------------------------------

Modified:
    ofbiz/ofbiz-plugins/branches/release17.12/   (props changed)
    ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/groovyScripts/catalog/LayeredNavigation.groovy

Propchange: ofbiz/ofbiz-plugins/branches/release17.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Aug 19 15:31:41 2018
@@ -11,4 +11,4 @@
 /ofbiz/branches/multitenant20100310/plugins:921280-927264
 /ofbiz/branches/release13.07/plugins:1547657
 /ofbiz/ofbiz-framework/trunk:1836107
-/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796,1837845,1837857,1838249
+/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796,1837845,1837857,1838249,1838381

Modified: ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/groovyScripts/catalog/LayeredNavigation.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/groovyScripts/catalog/LayeredNavigation.groovy?rev=1838383&r1=1838382&r2=1838383&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/groovyScripts/catalog/LayeredNavigation.groovy (original)
+++ ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/groovyScripts/catalog/LayeredNavigation.groovy Sun Aug 19 15:31:41 2018
@@ -47,6 +47,7 @@ if (!parameters.clearSearch || !"N".equa
     ProductSearchSession.searchClear(session)
 }
 
+request.getSession().setAttribute("dispatcher",dispatcher)
 ProductSearchSession.processSearchParameters(parameters, request)
 prodCatalogId = CatalogWorker.getCurrentCatalogId(request)
 result = ProductSearchSession.getProductSearchResult(request, delegator, prodCatalogId)