[
https://issues.apache.org/jira/browse/OFBIZ-9309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditya Sharma updated OFBIZ-9309:
---------------------------------
Attachment: OFBIZ-9309.patch
Problem:
1. "searchContent" request directs to "searchContent" screen in
ContentScreens.xml.
2. On searchContent screen, "/ecommerce/groovyScripts/content/Search.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.
> Ecommerce component showing error screen on searchContent from
> showcontenttree page
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-9309
> URL: https://issues.apache.org/jira/browse/OFBIZ-9309
> Project: OFBiz
> Issue Type: Bug
> Components: ecommerce
> Reporter: Aditya Sharma
> Assignee: Aditya Sharma
> Attachments: OFBIZ-9309.patch, screenshot-1.png
>
>
> Steps to reproduce:
> 1.Go to Ecommerce component (https://localhost:8443/ecommerce/control/main)
> 2.Click on any of the Content from "Browse Content" section of left panel.It
> will be directed to
> https://localhost:8443/ecommerce/control/showcontenttree?contentId=STORE_POLICIES&nodeTrailCsv=STORE_POLICIES
> 3. Click on Search, it directs to
> https://localhost:8443/ecommerce/control/searchContent?siteId=STORE_POLICIES
> 4. Screen renders with ScreenRenderingException
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)