[jira] [Commented] (OFBIZ-8316) Update Apache Solr/Lucene to release 6.2.1

2017-04-08 Thread Shi Jinghai (JIRA)

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

Shi Jinghai commented on OFBIZ-8316:


Hi Jacques,

Thanks for the ping!

Happy to see Lucene/Solr 6.5.0 has released. I changed lucene and solr from 
6.2.1 to 6.5.0, ProductDocument.java to use LongPoint and DoublePoint locally, 
it works great fine now.

I'll ask Pengan to upgrade all the files (including html and js files) to 6.5.0 
and submit a new patch when we meet next Tuesday.

Cheers,

> 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] [Created] (OFBIZ-9309) Ecommerce component showing error screen on searchContent from showcontenttree page

2017-04-08 Thread Aditya Sharma (JIRA)
Aditya Sharma created OFBIZ-9309:


 Summary: 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


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=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

2017-04-08 Thread Aditya Sharma (JIRA)

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

Aditya Sharma updated OFBIZ-9308:
-
Attachment: screenshot-1.png

> 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] [Created] (OFBIZ-9308) CMS shows error screen on Product Search

2017-04-08 Thread Aditya Sharma (JIRA)
Aditya Sharma created OFBIZ-9308:


 Summary: 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


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] [Commented] (OFBIZ-9278) Login after multitenant

2017-04-08 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-9278:


Hello Guillaume,

Okay, so the issue identified so far is that the login account does not work 
after creating the second tenant. Now just for clarity and future reference, 
the steps defined for creating a new tenant in createTenant task are the 
following
- define a new tenant in the master database
- create a new database for the tenant
- load the new database for the tenant
- load the admin user for that tenant

Now can you please specify what did and did not happen. Namely:
- Are the databases all created and defined for all tenants
- Is the information about the tenants available on the master database (Tenant 
Entity)?

Answering the above would get us a step closer by identifying whether the issue 
is with just the login account or a problem with the whole database setup.

> Login after multitenant
> ---
>
> Key: OFBIZ-9278
> URL: https://issues.apache.org/jira/browse/OFBIZ-9278
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 16.11
> Environment: linux mint 17.1, MySql 5.5.54
>Reporter: Guillaume Fortin
>Priority: Minor
>  Labels: multitenancy, multitenant
>
> I want to create two tenants named respectively e3 and psp. To create
> them, I use those command lines:
> ./gradlew createTenant -PtenantId=PSP -PtenantReaders=seed,seed-initial
> -PdbPlatform=M -PdbUser= -PdbPassword=
> ./gradlew createTenant -PtenantId=E3 -PtenantReaders=seed,seed-initial
> -PdbPlatform=M -PdbUser= -PdbPassword=X
> After creating the first tenant, I was able to connect with psp-admin
> user. After I created the second one, I was able to connect to the second
> database e3 with the e3-admin user but impossible to connect again on the
> PSP application.



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


[jira] [Updated] (OFBIZ-9278) Login after multitenant

2017-04-08 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb updated OFBIZ-9278:
---
Priority: Minor  (was: Blocker)

> Login after multitenant
> ---
>
> Key: OFBIZ-9278
> URL: https://issues.apache.org/jira/browse/OFBIZ-9278
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 16.11
> Environment: linux mint 17.1, MySql 5.5.54
>Reporter: Guillaume Fortin
>Priority: Minor
>  Labels: multitenancy, multitenant
>
> I want to create two tenants named respectively e3 and psp. To create
> them, I use those command lines:
> ./gradlew createTenant -PtenantId=PSP -PtenantReaders=seed,seed-initial
> -PdbPlatform=M -PdbUser= -PdbPassword=
> ./gradlew createTenant -PtenantId=E3 -PtenantReaders=seed,seed-initial
> -PdbPlatform=M -PdbUser= -PdbPassword=X
> After creating the first tenant, I was able to connect with psp-admin
> user. After I created the second one, I was able to connect to the second
> database e3 with the e3-admin user but impossible to connect again on the
> PSP application.



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


[jira] [Closed] (OFBIZ-9282) Refactor lists related to gateway transactions in accounting

2017-04-08 Thread Pierre Smits (JIRA)

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

Pierre Smits closed OFBIZ-9282.
---

Thanks for the assistance, [~jacques.le.roux]

> Refactor lists related to gateway transactions in accounting
> 
>
> Key: OFBIZ-9282
> URL: https://issues.apache.org/jira/browse/OFBIZ-9282
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>  Labels: refactoring, widget
> Fix For: Upcoming Release
>
> Attachments: OFBIZ-9282-Accounting-GatewayTransactions.patch
>
>
> Refactor various list forms into grids.
> Refactor various list form references in screen widgets.



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


[jira] [Closed] (OFBIZ-6691) Remove tooltip="${uiLabelMap.CommonRequired}" from fields

2017-04-08 Thread Pierre Smits (JIRA)

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

Pierre Smits closed OFBIZ-6691.
---

Thanks for the assistance, [~jacques.le.roux]

> Remove tooltip="${uiLabelMap.CommonRequired}" from fields
> -
>
> Key: OFBIZ-6691
> URL: https://issues.apache.org/jira/browse/OFBIZ-6691
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>  Labels: validation
> Fix For: 16.11.01
>
>
> The aspect 'required-field="true"' should deliver this. Therefor, this is 
> unnecessary.



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


[jira] [Assigned] (OFBIZ-6691) Remove tooltip="${uiLabelMap.CommonRequired}" from fields

2017-04-08 Thread Pierre Smits (JIRA)

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

Pierre Smits reassigned OFBIZ-6691:
---

Assignee: Pierre Smits  (was: Jacques Le Roux)

> Remove tooltip="${uiLabelMap.CommonRequired}" from fields
> -
>
> Key: OFBIZ-6691
> URL: https://issues.apache.org/jira/browse/OFBIZ-6691
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>  Labels: validation
> Fix For: 16.11.01
>
>
> The aspect 'required-field="true"' should deliver this. Therefor, this is 
> unnecessary.



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


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

2017-04-08 Thread Aditya Sharma (JIRA)

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

Aditya Sharma commented on OFBIZ-9301:
--

Sure Jacques I will ensure that. Thanks for applying my patch :)

> 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
> Fix For: Upcoming Release
>
> 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)


[jira] [Updated] (OFBIZ-9307) refactor lists related to financial accounts in accounting

2017-04-08 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-9307:

Attachment: OFBIZ-9307-accounting -FinAccounts.patch

This patch addresses the issue.

> refactor lists related to financial accounts in accounting
> --
>
> Key: OFBIZ-9307
> URL: https://issues.apache.org/jira/browse/OFBIZ-9307
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>  Labels: refactoring, widget
> Attachments: OFBIZ-9307-accounting -FinAccounts.patch
>
>
> Refactor various list forms into grids.
> Refactor various list form references in screen widgets



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


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

2017-04-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-9301.
--
   Resolution: Fixed
Fix Version/s: Upcoming Release

Thanks Aditya,

Your modified patch is in at revision 1790664. I sorted the imports by hand, 
and added missing parenthesis at ".build" (2 places)

It seems R16.11 has not this problem, but OFBIZ-8316 must be clarified.

> 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
> Fix For: Upcoming Release
>
> 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)


[jira] [Commented] (OFBIZ-8316) Update Apache Solr/Lucene to release 6.2.1

2017-04-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-8316:


BTW what is the situation in R16.11?

> 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] [Created] (OFBIZ-9307) refactor lists related to financial accounts in accounting

2017-04-08 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-9307:
---

 Summary: refactor lists related to financial accounts in accounting
 Key: OFBIZ-9307
 URL: https://issues.apache.org/jira/browse/OFBIZ-9307
 Project: OFBiz
  Issue Type: Improvement
  Components: accounting
Affects Versions: Trunk
Reporter: Pierre Smits
Assignee: Pierre Smits


Refactor various list forms into grids.
Refactor various list form references in screen widgets



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


[jira] [Commented] (OFBIZ-8316) Update Apache Solr/Lucene to release 6.2.1

2017-04-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-8316:


Hi Jinghai, Pengan,

What is the situation here? I stumbled upon this pending issue while working on 
OFBIZ-9301.

> 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] [Commented] (OFBIZ-9301) CMS shows error screen on clicking Find button

2017-04-08 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2017-04-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-9301:
--

Assignee: Jacques Le Roux  (was: Aditya Sharma)

> 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)


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

2017-04-08 Thread Aditya Sharma (JIRA)

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

Aditya Sharma commented on OFBIZ-9301:
--

The problem must be present on other places too where Lucene is used.

https://demo-trunk-ofbiz.apache.org:8443/ecommerce/control/searchContent

So will create a separate ticket to update all the occurrences.

> 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: Aditya Sharma
> 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)


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

2017-04-08 Thread Aditya Sharma (JIRA)

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

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

Problem:
1. "AdminSearch" request directs to "AdminSearch" screen in LuceneScreens.xml.
2. On AdminSearch screen, "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.

References:

https://lucene.apache.org/core/5_4_0/core/deprecated-list.html#constructor

BooleanQuery Class documentation:
https://lucene.apache.org/core/5_4_0/core/org/apache/lucene/search/BooleanQuery.html

BooleanQuery.Builder Class documentation:
https://lucene.apache.org/core/5_4_0/core/org/apache/lucene/search/BooleanQuery.Builder.html

> 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: Aditya Sharma
> 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)