Uploaded image for project: 'Magnolia Shop (closed)'
  1. Magnolia Shop (closed)
  2. MSHOP-127

Product search on an empty string (or spaces only) results in a queryParser.ParseException in the log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1.5, 2.0.1
    • 1.1.4

      When you perform a shop product search on an empty string (or a string consisting of spaces only) an error is written to the log:
      2014-03-09 19:55:27,424 ERROR
      .magnolia.module.shop.accessors.ShopProductAccesor: Cant read Products

      caused by a org.apache.lucene.queryParser.ParseException. See the attached log file for details.

      I think the ShopProductSearchResultParagraphModel should check for empty search strings and disallow them.

        Acceptance criteria

              jsimak Jaroslav Simak
              edgar Edgar Vonk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD