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

Web Content Search returns all web contents of a specific type when searched with any keyword

    Details

      Description

      Note
      This will be a 62x fix, since Web Content Type has been converted to vocabularies in master.
      Reference: LPS-50764

      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 contents based on the newly created structure
      4. Enter the word yes in both fields in the first web content
      5. Enter the word nope in both fields in the second web content
      6. Categorize both web contents as web content 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 "yes".

      EXPECTED RESULTS
      the search result will display just one web content containing the word "yes".

      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

      MASTER
      Can't test in Master
      Options for step 6 and 8 are not available.
      69bf0ebbf0197ef5dcdfea27c3d1825227d9af1d

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 23 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.1 CE GA2