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

ListTypeEntry filter is not working for name property in APIs

    Details

      Description

      The name property filter is not working for ListTypeEntry API

       

      Steps to reproduce:

      1. Create a ListTypeDefinition "Experience"
      2. Create multiple ListTypeEntries with names like: Junior, Mid Level, Senior, Staff
      3. Make an API request using one of the ListTypeEntry names above like: filter 'name eq "Junior" o 'name eq "Mid Level". You will need to update the curl command with your ListTypeDefinitionId
      curl -X 'GET' 'http://localhost:8080/o/headless-admin-list-type/v1.0/list-type-definitions/42548/list-type-entries?filter=name%20eq%20%27junior%27' -u '[email protected]:test'

       

      Expected result: Response has one result
      Result: No results are shown

      This scenario is covered by the ListTypeEntryResourceTest.testGetListTypeDefinitionListTypeEntriesPageWithFilterStringEquals integration test.

       

        Attachments

          Activity

            People

            Assignee:
            evanilson.santana Evanilson Santana
            Reporter:
            javier.dearcos Javier de Arcos Velilla
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Javier de Arcos Velilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              20 weeks, 4 days ago

                Packages

                Version Package
                7.4.3.5 CE GA5
                7.4.13 DXP U1
                7.4.3.6 CE GA6
                7.4.13 DXP U2
                7.4.3.7 CE GA7
                7.4.13 DXP U3
                Master