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

Modified Facet Portlet - Unable to search via custom range after entering invalid from date



      Steps to reproduce:

      1. Add a web content article titled "test"
      2. Perform a search on the home page with keyword "test"
      3. Within the modified facet portlet, click on "Custom Range..." to expand 
      4. In the "From" date field, enter an invalid date, i.e. one that is past the "To" date
      5. Click the search button within the "Custom Ranges..." section

      Expected results:
      The user is able to make further changes to the "Custom Ranges..." fields and perform a search

      Actual results:
      The search button within the "Custom Ranges..." section is greyed out and unclickable. The problem persists even after changing the "From" date field to a valid date and refreshing the page or executing a new search via the search bar portlet/embedded search bar. To change the custom ranges value, the user would either have to click the "Clear" link in the modified facet portlet, or navigate away from the search page and back.

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7.22
      portal master Git SHA: b3dc4d7af592a457f58eb3d5222dc6a36c53f9f2


          Issue Links



              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created:
                  Days since last comment:
                  2 weeks, 6 days ago


                  Version Package