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

Content in nonindexable field could be searched.

    Details

      Description

      Steps to reproduce:

      1. Click Site administration > Content > Dynamic Data Lists > Manage Data Definitions > Add.
      2. Enter basic form in the Name field.
      3. Drag and drops the Boolean field in the build container.
      4. Click the Edit icon.
        1. Boolean Field Label: Employee
        2. Indexable: Yes
      5. Drag and drops the Text field.
      6. Click the Edit icon.
        1. Text Field Label: Name
        2. Indexable: Keyword
      7. Click Save.
      8. Go Back to liferay site, and add the Dynamic Data Lists Display portlet.
      9. Click the Add List icon, and enter Employee Profile in the Name field.
      10. Click the Select, and choose the basic form, then save.
      11. Click Add Record, and enter the following:
        1. Employee
        2. Name:Joe
      12. Click Site administration > Content > Dynamic Data Lists > Manage Data Definitions.
      13. Click Actions > Edit near basic form > Click each field and set Indexable to No, then save.
      14. Go to Control Panel -> System -> Server Administration
      15. Execute Reindex all search indexes
      16. Go Back to liferay site
      17. Search for the content in each nonindexable field.

      Actual result:
      Content in nonindexable field could be searched(Employee and Name in this case).

      Expect result:
      Content in nonindexable field should not be searched.

        Attachments

        1. failed.gif
          failed.gif
          4.23 MB
        2. reproduced.gif
          reproduced.gif
          3.59 MB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 5 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 Alpha 2