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

Web Content Search returns all existing web content

    Details

      Description

      DESCRIPTION
      Web Content search is returning all existing web content of a specific type.

      STEPS TO REPRODUCE
      Test steps also included in attached document:
      1. Add a structure with a text Text1696 and a text box Text_Box2310 fields
      2. Add a simple template in Velocity to display the data

      $Text1696.getData()
      $Text_Box2310.getData()

      3. Create 2 web content based on the newly created structure
      4. Enter a word test in both fields in the first web content
      5. Enter a word spring in both fields in the second web content
      6. Categorize the web contents as type "Test"
      7. Add a Web Content Search Portlet
      8. Configure portlet with Web Content Type of Test and uncheck "only show results for web content listed in a web content display portlet":
      9. Search for word "test".

      EXPECTED RESULTS
      the search result will display just one web content containing the word "Test".
      ACTUAL RESULTS
      the search displays both web contents
      additionally, if you search for a word doesn't exist in the web content articles, both articles still show

      BRANCH
      Reproduced
      826f70c1b7c7eaae71e501edd6b39e2b994b7ffc

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew.betts Andrew Betts
                Reporter:
                andrew.betts Andrew Betts
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 32 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.1 CE GA2