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

A console error is happening when searching for a specific object name (with multiple matches) in the list of objects

Details

    Description

      Description
      A console error is happening when searching for a specific object name (with multiple matches) in the list of objects.

      Steps to Reproduce

      1. Go to Control Panel > App Builder > Objects;
      2. Add some Custom Objects (e.g.: names: Object 1, Object 2, Object 3, alex);
      3. Try to search using the string: "Object" - 3 items are found/shown - OK;
      4. Try to search using the string: "Object 1" - 4 items are found/shown and the error happens - NOT OK;
      5. Try to search using the string: "alex" - 1 item is found/shown - OK;
      6. Try to search using an invalid string: "invalid" - 0 items are found/shown - OK;

       Error:

      fetch.es.js:43 GET http://localhost:8080/o/data-engine/v2.0/data-definitions/by-content-type/app-builder?p_auth=BHrnaOPq&t=1591197039749&keywords=object+1&page=1&pageSize=20&sort=

      Expected Result
      A console error is not happening when searching for a specific object name (with multiple matches) in the list of objects

      Actual Result
      A console error is happening when searching for a specific object name (with multiple matches) in the list of objects.

      Reproduced In
      master: 3209bb8cf5ccb21b62c60e1d3897d139bc5b6420

      Attachments

        Activity

          People

            guilherme.freire Guilherme Freire (Inactive)
            alex.candido Alex Candido
            Marta Elicegui Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 39 weeks, 6 days ago

              Packages

                Version Package