Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-15196

Backend returns exception for search in home page

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Metadata, UI
    • Labels:
      None
    • Release Notes:
      Fixes an issue with Metadata search result pagination
    • Rank:
      1|i00mwf:

      Description

      When running in cloud environment the control center (Home page) gets an exception from backend for pagination (search metadata api).

      Our best guess is that the issue seems to be from the way UI uses the metadata api.

      Backend expects a cursor OR an offset as part of the metadata api request to retrieve search response. However UI seems to be sending `cursorRequested: true` and an offset.

      However we have also seen logs that doesn't have both but still return an exception. Based on talking to Andreas Neumann we will ignore the cursor if offset is present in the search request.

       

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: