Description of problem: No results when quick-searching after migration from 5.1.0 to 5.2.1. Steps to Reproduce: 1. install EPP-SP-5.1.0, start&stop server 2. install EPP-SP-5.2.1.ER2 with 5.1 data, start&stop to remove JCR locks 3. start EPP-SP-5.2.1.ER2 again 4. search from quick-search box Actual results: No search results. NPE in server log. Expected results: Correct search results. Additional info: Environment: EPP-5.2.1.ER3/CR1 + EPP-SP-5.2.1.ER2 mysql-5.0, mysql-5.1, oracle10g, postgresql-8.4, and others probably
Created attachment 576529 [details] stack trace
Created attachment 576531 [details] snapshot
https://jira.exoplatform.org/browse/SPUB-185
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No results when quick-searching after migration from 5.1.0 to 5.2.1. Steps to Reproduce: 1. install EPP-SP-5.1.0, start&stop server 2. install EPP-SP-5.2.1.ER2 with 5.1 data, start&stop to remove JCR locks 3. start EPP-SP-5.2.1.ER2 again 4. search from quick-search box Actual results is no search results. NPE in server log. Expected results is correct search results.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,10 +1,19 @@ -No results when quick-searching after migration from 5.1.0 to 5.2.1. +The quick search function does not work after upgrading Site Publisher from v5.1.0 to v5.2.1. Searching using the quick search field returns no search results and causes a Null Pointer Exception in the server log. To workaround the issue, perform the following modifications: - +<orderedlist> -Steps to Reproduce: + <listitem> -1. install EPP-SP-5.1.0, start&stop server + <para>Log onto the "classic" portal using administrator credentials.</para> -2. install EPP-SP-5.2.1.ER2 with 5.1 data, start&stop to remove JCR locks + </listitem> -3. start EPP-SP-5.2.1.ER2 again + <listitem> -4. search from quick-search box + <para>Open the "classic" portal Quick Search page.</para> - + </listitem> -Actual results is no search results. NPE in server log. + <listitem> -Expected results is correct search results.+ <para>Click Edit Page</para> + </listitem> + <listitem> + <para>Edit the "Search Result" portlet.</para> + </listitem> + <listitem> + <para>Update the Base Path setting to point to the portal detail page instead of the parameterizedviewer page, as per the example at [1]</para> + </listitem> +</itemizedlist> +<para>[1] Change from http://<replaceable><host></replaceable>:8080/ecmdemo/classic/parameterizedviewer? to http://<replaceable><host></replaceable>:8080/ecmdemo/classic/detail?
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1,4 @@ -The quick search function does not work after upgrading Site Publisher from v5.1.0 to v5.2.1. Searching using the quick search field returns no search results and causes a Null Pointer Exception in the server log. To workaround the issue, perform the following modifications: +The quick search function does not work after upgrading Site Publisher from v5.1.0 to v5.2.1. Searching using the quick search field returns no search results and causes a Null Pointer Exception in the server log. To workaround the issue, perform the following modifications:</para> <orderedlist> <listitem> <para>Log onto the "classic" portal using administrator credentials.</para> @@ -15,5 +15,5 @@ <listitem> <para>Update the Base Path setting to point to the portal detail page instead of the parameterizedviewer page, as per the example at [1]</para> </listitem> -</itemizedlist> +</orderedlist> <para>[1] Change from http://<replaceable><host></replaceable>:8080/ecmdemo/classic/parameterizedviewer? to http://<replaceable><host></replaceable>:8080/ecmdemo/classic/detail?