[jira] [Comment Edited] (OFBIZ-9309) Ecommerce component showing error screen on searchContent from showcontenttree page
[ https://issues.apache.org/jira/browse/OFBIZ-9309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962057#comment-15962057 ] Aditya Sharma edited comment on OFBIZ-9309 at 4/9/17 7:29 AM: -- Additional changes: Moved code to "open index files" inside try-catch block as when not handled it may give ScreenRendering error when no index found. Attaching screenshot for the case. Updated error message from UILabel. was (Author: aditya.sharma): Additional changes: Moved code to open of index files inside try-catch block as it may give ScreenRendering error when no index found. Attaching screenshot for the case. Updated error message from UILabel. > 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, > screenshot-2-whenNoIndex.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)
[jira] [Commented] (OFBIZ-8316) Update Apache Solr/Lucene to release 6.2.1
[ https://issues.apache.org/jira/browse/OFBIZ-8316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962058#comment-15962058 ] Jacques Le Roux commented on OFBIZ-8316: (y) > Update Apache Solr/Lucene to release 6.2.1 > -- > > Key: OFBIZ-8316 > URL: https://issues.apache.org/jira/browse/OFBIZ-8316 > Project: OFBiz > Issue Type: Improvement > Components: lucene, solr >Affects Versions: Trunk >Reporter: Michael Brohl >Assignee: Shi Jinghai >Priority: Minor > Attachments: OFBIZ-8316_corrected.patch, > ofbiz-truck-lucene-6.2.1.patch, ofbiz-truck-solr-6.2.1.patch, > solr6.2.1_1.patch > > > According to the announcements in > https://lists.apache.org/thread.html/5d2cb1ecbe04c6c40b8eeba3b7f8da586d1271af98c9b07ceee8ada2@%3Cannounce.apache.org%3E > and > https://lists.apache.org/thread.html/c1269b52229f6bce68399e813b7c6b79eb3f6283ae21bde11c82fc7c@%3Cannounce.apache.org%3E > there is a new Solr/Lucene release available. > This issue takes care of the update. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (OFBIZ-9309) Ecommerce component showing error screen on searchContent from showcontenttree page
[ https://issues.apache.org/jira/browse/OFBIZ-9309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aditya Sharma updated OFBIZ-9309: - Attachment: screenshot-2-whenNoIndex.png > 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, > screenshot-2-whenNoIndex.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)
[jira] [Commented] (OFBIZ-9309) Ecommerce component showing error screen on searchContent from showcontenttree page
[ https://issues.apache.org/jira/browse/OFBIZ-9309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962057#comment-15962057 ] Aditya Sharma commented on OFBIZ-9309: -- Additional changes: Moved code to open of index files inside try-catch block as it may give ScreenRendering error when no index found. Attaching screenshot for the case. Updated error message from UILabel. > 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)
[jira] [Updated] (OFBIZ-9309) Ecommerce component showing error screen on searchContent from showcontenttree page
[ 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)
[jira] [Updated] (OFBIZ-9308) CMS shows error screen on Product Search
[ 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 > 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)
[jira] [Updated] (OFBIZ-9308) CMS shows error screen on Product Search
[ https://issues.apache.org/jira/browse/OFBIZ-9308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aditya Sharma updated OFBIZ-9308: - Attachment: (was: OFBIZ-9308.patch) > 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: 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)
[jira] [Updated] (OFBIZ-9308) CMS shows error screen on Product Search
[ 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)