Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE GA1, 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.0.X EE, 6.1.X EE, 6.2.0 CE M2
-
Labels:
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
There are three different bugs here, but all is related to asset browser's advanced search screen:
1. The Title and Description fields are not used in the query
2. User Name input is case sensitive (the field uses a LikeKeywordAnalyzer so lucene stores it lowercase, but the input is not lower-cased before searching, see https://issues.apache.org/jira/browse/LUCENE-89)
3. The Description column shows up empty in the search-result table (the column is filled using assetEntry.getSummary(), not assetEntry.getDescription()
Setup for reproducing:
1. in control panel, Documents and Media, upload some Basic documents (pictures, for example)
2. in control panel, Web Content, add a Basic Document, but not fill the inputs, just choose "Related Assetsd" from the right
3. Click on Select, choose Documents and Media Document
4. Asset Browser window come up, click on Advanced search and try to use it

Source:
https://github.com/peterborkuti/liferay-portal/commit/0647ffd761ac2f13d650d3572f8448f1504bd186
Pull request:
https://github.com/zberentey/liferay-portal/pull/134