Sample Drools - does not display entries for a user that have tags that include a space
Description
Environment
Activity

Oriana ThamJuly 25, 2012 at 10:39 AM
PASSED Manual Testing following the steps in the description.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 27d604301febed891f0d7eb0ddab58055cac8d55. Plugins 6.1.x EE GIT ID: fffb0a26dde542faa3f5e813d9f9ff7ab2bd967f.
Sample Drools displays entries with tags that include a space

petershinJuly 13, 2012 at 10:16 AM
Minor api change for BooleanClauseFactoryUtil#create

petershinJuly 12, 2012 at 5:53 PM
Simplified code after discussing faceted search with Ray:
You're not really looking to do a "facet". All you want is to add some limits to the query.
You could do the same by adding some extra BooleanClauses to the searchContext as well.
searchContext.setBooleanClauses(BooleanClause[] booleanClauses)
That's really the correct way to do it.

petershinJuly 12, 2012 at 5:53 PM
The test cases have changed as a result of http://issues.liferay.com/browse/LPS-28296
for users with an address in "Brazil", "Canada", "Mexico" or "United States", content tagged "americas" will be displayed.
for users with an address in "France", "Germany", "Spain", content tagged "european" will be displayed.
for users with an address in "India", "Malaysia", "Singapore", content tagged "indian" will be displayed.
Details
Assignee
Oriana ThamOriana Tham(Deactivated)Reporter
JR HounJR HounLabels
Branch Version/s
6.1.xBackported to Branch
CommittedEpic/Theme
Fix Priority
3Git Pull Request
Bug Type
Regression BugComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Epic/Theme
Fix Priority
Git Pull Request
Bug Type
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Pre-conditions - sample-drools and drools-web are deployed
In 6.1.10 EE GA1 -
1. Create a user in the "European" region - in the case of testing - this was Berlin, Germany.
2. Assign that user Site Administrator role for the Guest Community
3. Create one page that has the Sample Drools portlet on it. Create a different page with the Blogs portlet.
4. Create TWO blogs entries - one that is tagged "european" and another that is tagged "european symposium".
5. Log out, and then back IN as the user you created with address in Berlin.
6. Navigate to the page with the Sample Drools portlet on it.
7. Result: only the content tagged with "european symposium" is displayed.
Test cases were written with this in mind.
In the 6.1.20 shelf - follow the above steps BUT instead of the previous result - the opposite happens - only content tagged with "european" displays - content tagged with "european symposium" does not display.