Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.0 CE GA1, 7.1.10 DXP FP17, 7.1.X, 7.2.0 GA1, 7.2.10 DXP FP4, 7.2.X, Master
-
7.2.x, 7.1.x
-
Committed
-
4
-
Search|S03 Sprint 15|4.28-5.18
Description
Steps to Reproduce:
On a bundle using the Solr7 connector:
1. Go to Control Panel > Sites > Sites and Create a new Site
2. Go to the new site
3. Add a Widget Page to the new Site
4. Add a Asset Publisher to the Widget Page
5. Using the Asset Publisher create a Web Content
6. Go to Control Panel > Sites > Sites
7. Click on the new site's ellipsis and Deactivate
8. Navigate to Control Panel -> Configuration -> System Settings -> Assets -> Asset Publisher and set Check Interval to 1 and Save (If nothing happens in the logs, switch it back to 0 and repeat until you see errors in the logs)
Expected Result: No errors in logs.
Actual Result: Receive an error in the logs
ERROR [liferay/scheduler_dispatch-9][SolrIndexSearcher:147] java.lang.RuntimeException: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr: org.apache.solr.search.SyntaxError: Cannot parse 'visible:true +companyId:20101 +()': Encountered " ")" ") "" at line 1, column 33.Was expecting one of: <NOT> ..._ "" ..._ "-" ..._ <BAREOPER> ..._ "(" ..._ "*" ..._ <QUOTED> ..._ <TERM> ..._ <PREFIXTERM> ..._ <WILDTERM> ..._ <REGEXPTERM> ..._ "[" ..._ "{" ..._ <LPARAMS> ..._ "filter(" ..._ <NUMBER> ..._ <TERM> ..._