[jira] [Commented] (OFBIZ-9301) CMS shows error screen on clicking Find button

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

[jira] [Commented] (OFBIZ-9301) CMS shows error screen on clicking Find button

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961734#comment-15961734 ]

Jacques Le Roux commented on OFBIZ-9301:
----------------------------------------

Hi Aditya,

I have applied your patch (please create them from root dir) but now get on screen
{code}
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://lucene/widget/LuceneScreens.xml#AdminSearch]: java.lang.IllegalArgumentException: Error running script at location [component://lucene/groovyScripts/content/Search.groovy]: groovy.lang.MissingPropertyException: No such property: build for class: org.apache.lucene.search.BooleanQuery$Builder (Error running script at location [component://lucene/groovyScripts/content/Search.groovy]: groovy.lang.MissingPropertyException: No such property: build for class: org.apache.lucene.search.BooleanQuery$Builder)
{code}
In log
{code}
2017-04-08 10:05:01,561 |http-nio-8443-exec-3 |                              |I| menuContext(0):[:]
2017-04-08 10:05:01,733 |http-nio-8443-exec-3 |ScriptUtil                    |W| Error running script at location [component://lucene/groovyScripts/content/Search.groovy]: groovy.lang.MissingPropertyException
: No such property: build for class: org.apache.lucene.search.BooleanQuery$Builder
groovy.lang.MissingPropertyException: No such property: build for class: org.apache.lucene.search.BooleanQuery$Builder
 at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) ~[groovy-all-2.4.10.jar:2.4.10]
     at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:66) ~[groovy-all-2.4.10.jar:2.4.10]
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296) ~[groovy-all-2.4.10.jar:2.4.10]
    at Search.run(Search.groovy:100) ~[?:?]
{code}
I checked "import org.apache.lucene.search.*" is in.

> CMS shows error screen on clicking Find button
> ----------------------------------------------
>
>                 Key: OFBIZ-9301
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9301
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>            Reporter: Aditya Sharma
>            Assignee: Jacques Le Roux
>         Attachments: OFBIZ-9301.patch, screenshot-1.png
>
>
> Steps to regenerate :
> 1. Log in to Content component
> 2. Go to the CMS tab or directly go to  https://localhost:8443/content/control/CMSContentFind
> 3. Click on "Find" submenu or directly go to https://localhost:8443/content/control/AdminSearch
> 4. Screen renders with ScreenRenderingException



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