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

Using capitalized letters within search destination configuration field causes scoping issues


    • Story Points:
    • Fix Priority:


      Steps to reproduce:

      1. Create a new site
      2. Create a blog on this new site titled "blog"
      3. Navigate back to default portal site
      4. Navigate to the configuration screen of the header search bar
      5. Change the destination value from "/search" to "/Search"
      6. Change the Scope to "Everything" and save
      7. Search for "blog"

      Expected result: The blog that was added on the new site shows up in the results

      Actual result: No results show up.

      Note: When this happens, the scope seems to be mapped to what is set within the in-page search bar instead of the header search bar which is incorrect behavior following the specifications in this ticket: LPS-83193. You can test this by switching the in-page search bar Scope to "Everything" and the header search bar to "This Site" and the blog would show up in the results.
      Also, searching redirects you to the correct search page even with the capitalized letters.

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7.22
      Portal master Git SHA: ea417d51151ec0b04acd3cd971269d40bb0915e6
      Portal 7.1.x Git SHA: 12f3b6698f45d201acaf93ca61c699a314f0da06




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


              • Created:
                Days since last comment:
                39 weeks ago


                Version Package