Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-37548

The user doesn't get information about that the "*" not allowed as first character in WildcardQuery

    Details

    • Fix Priority:
      2

      Description

      Reproduction steps:
      1. Add a Blogs portlet to your page.
      2. Add a few blog entries.
      3. Fill out the Search Entries field: "*blog", then click on Search.
      4. You get all of the blogs you have created. Why?
      Check the server log:
      "14:33:07,862 ERROR [http-bio-8080-exec-8][LuceneHelperImpl:257] org.apache.lucene.queryParser.ParseException: Cannot parse 'blog': '' or '?' not allowed as first character in WildcardQuery
      org.apache.lucene.queryParser.ParseException: Cannot parse 'blog': '' or '?' not allowed as first character in WildcardQuery
      at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)"

      Unfortunately, the user will not see this information, so please create a message dialog, what says that the "*" not allowed as first character.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.mccann Jonathan McCann
              Reporter:
              gabor.kovacs Gabor Kovacs
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 29 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE B1