Jacques Le Roux 81f93c5f78 Fixed: CMS shows error screen on Product Search
(OFBIZ-9308)

Steps to regenerate:
1. Go to Content component 
    https://localhost:8443/content/control/main
2. Click on CMS tab directing to 
    https://localhost:8443/content/control/CMSContentFind
3. Click on Search Products subtab directing to 
    https://localhost:8443/content/control/ProductSearch
4. Provide a Lucene Query and Click submit.
5. Screen renders with ScreenRenderingException

Problem:
1. "ProductSearch" request directs to "ProductSearch" screen in 
    LuceneScreens.xml.
2. On ProductSearch screen, "SearchProducts.groovy" script prepares and hits a 
    search query to Lucene.
3. "BooleanQuery" class is used to match documents with other boolean query 
    combinations.
4. BooleanQuery object is initialised with Its default constructor.
5. With Lucene 5.4.0, this constructor is deprecated.
OFBiz migrated to Lucene 6.3.1: OFBIZ-8316

Solution:
From Lucene 5.4.0 default constructor is deprecated and a new inner class 
Builder is created for queries.

Refer OFBIZ-9301 for detailed explanation.

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1790933 13f79535-47bb-0310-9956-ffa450edef68
2017-04-11 07:34:15 +00:00
2017-04-07 13:21:50 +00:00
2017-02-01 10:58:46 +00:00
2017-02-05 11:09:59 +00:00
2017-02-05 11:09:59 +00:00
S
Description
No description provided
Apache-2.0
153 MiB
Languages
JavaScript 44.6%
Java 23.1%
FreeMarker 18.1%
Groovy 6.4%
CSS 5.3%
Other 2.4%