Search is broken with full database's pre-packaged data

Description

When using the Search portlet on Liferay with a full database, the results fail to return anything that is in the pre-packaged data (users, etc). For example, the query 'test' should return all 190 the pre-installed users, but none of them are displayed and an exception is thrown.

Steps to reproduce:

  1. Start Liferay with a full database.

  2. Sign in.

  3. Add a Search portlet to the front page.

  4. Type 'test' into the input box and submit.

While the portlet reports that there are 190 results in Users, none of them display and the following error shows up on the console:

The problem exists even after performing a re-index. Search works as expected when Liferay starts on a minimal database.

Environment

Tomcat 7.0.22 + MySQL 5. 6.1.x Revision: 93958.

Attachments

2

Activity

Show:

Cynthia Wilburn March 12, 2012 at 2:18 PM

Reopening to add 6.1.1 CE GA2. Close as Fixed.

Paul Piao March 1, 2012 at 8:26 PM
Edited

PASSED Manual Testing following the steps in the description.

1. Start Liferay with a full database.
2. Sign in.
3. Add a Search portlet to the front page.
4. Go to Server Administration in control panel.
5. Click Execute in "Reindex all search indexes.".
6. Go back to search portlet page.
7. Type 'test' into the input box and submit.

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: ab203f7dd32cce1a0f263b140833cf340e824816.

portlet reports that there are 190 results in Users, but none of them display and console error message.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: a18f4e8efe4440d083d1ba8917f2c02d605cb326.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 25f5fc165b3801cd5be581befe4c0abd1b2a8e73.

I can search 190 user in search portlet and can not see the error message in console.

Paul Piao February 29, 2012 at 11:17 PM

FAILED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: ab203f7dd32cce1a0f263b140833cf340e824816.

portlet reports that there are 190 results in Users, but none of them display and console error message.

Failed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 30bbc6e1ff249f4ae700bfa68f3dc6956a3db978.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 2a19e98d0c816b1ff811bd6a5310093e27f35c7c.

I can see the same result, but can not find the error message in console.

Michael Saechang February 29, 2012 at 3:57 PM

Committed on:
6.1.x GIT ID: c5ef96f9e70593c3133ce241574a76e7b438fd70.
6.2.x GIT ID: c5ef96f9e70593c3133ce241574a76e7b438fd70.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

3

Git Pull Request

Components

Affects versions

Priority

Zendesk Support

Created November 21, 2011 at 2:13 PM
Updated June 24, 2023 at 3:37 PM
Resolved March 12, 2012 at 2:43 PM
Loading...