[jira] [Updated] (OFBIZ-9308) CMS shows error screen on Product Search

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

[jira] [Updated] (OFBIZ-9308) CMS shows error screen on Product Search

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Sharma updated OFBIZ-9308:
---------------------------------
    Attachment: OFBIZ-9308.patch

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.

> CMS shows error screen on Product Search
> ----------------------------------------
>
>                 Key: OFBIZ-9308
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9308
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>         Attachments: OFBIZ-9308.patch, screenshot-1.png
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)