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

Manually entered values as Custom Ranges can cause ArrayIndexOutOfBoundsException in Search Portlet Modified facet

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Fix Priority:
      4

      Description

      Steps to reproduce
      1. Place Search portlet to a page
      2. Search for anything
      3. Click on "Custom Range" on the newly loaded page
      4. Enter any invalid values as "Form" and "To" like "aasdasdasd"
      5. Submit form

      >>> As a result the search doesn't find any results and an ArrayIndexOutOfBoundsException is thrown in the log.

        Activity

        Hide
        pani.gui Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        ArrayIndexOutOfBoundsException throws in the console when searching with an invailed value in Custom Range.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 59fb428df360ac63a96f77e21ae6dc02afbd46ea.

        Showing "Please enter a date in the following format: YYYY-MM-DD" message and search button is gray when entering an invailed value in Custom Range.

        Show
        pani.gui Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. ArrayIndexOutOfBoundsException throws in the console when searching with an invailed value in Custom Range. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 59fb428df360ac63a96f77e21ae6dc02afbd46ea. Showing "Please enter a date in the following format: YYYY-MM-DD" message and search button is gray when entering an invailed value in Custom Range.
        Hide
        pani.gui Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8b12bba901cf2bea363fd4325e50c863bc197536.

        Showing "Please enter a date in the following format: YYYY-MM-DD" message and search button is gray when entering an invailed value in Custom Range.

        Show
        pani.gui Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8b12bba901cf2bea363fd4325e50c863bc197536. Showing "Please enter a date in the following format: YYYY-MM-DD" message and search button is gray when entering an invailed value in Custom Range.

          People

          • Assignee:
            pani.gui Pani Gui (Inactive)
            Reporter:
            tibor.lipusz Tibor Lipusz
            Recent user:
            Michael Saechang
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 38 weeks, 2 days ago

              Development

                Subcomponents