kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[Search Sessions] Error tooltip always says `unknown`

Open Dosant opened this issue 3 years ago • 2 comments

Kibana version: 7.17, 8.3, other

Describe the bug:

When search-session is an error state, the tooltip over error status on management shows "Unknown" instead of error details

Steps to reproduce:

  1. Get a session into an error state
  2. See that no matter the error, the tooltip always says unknown

Expected behavior:

Errors details shown

Screenshots (if relevant):

Screen Shot 2022-05-18 at 12 26 45

Any additional context:

Can see underlying error using devtools:

GET .kibana*/_search
{
  "sort": [
    {
      "search-session.created": {
        "order": "desc"
      }
    }
  ], 
  "size":1000,
  "query": {
    "bool": {
      "filter": [
        {
          "term": {
            "type": "search-session"
          }
        },
        {
          "term": {
            "search-session.persisted": true
          }
        },
        {
          "term": {
            "search-session.status": "error"
          }
        }
      ]
    }
  }
}

The unknown is coming from here:

https://github.com/elastic/kibana/blob/df38c6fc468392fc1db3011f2af8881b63603745/src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx#L121

Not sure how it was supposed to work, since there is no error prop on session object

Dosant avatar May 18 '22 10:05 Dosant

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

elasticmachine avatar May 18 '22 10:05 elasticmachine

Yes, I have also faced this problem. I can't even delete this session

zaidizeeshan avatar Aug 10 '22 04:08 zaidizeeshan