Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
6.6.1
-
Untriaged
-
1
-
Unknown
Description
This has been observed in 6.6.1 as well.
Description:
When an error message happens after trying to connect the link from the "Connect Link" button in the UI, the popup shows including the whole response instead of just the "errors" property reported.
The popup should be including only the result/error from the response, the screenshot shows the result in the popup and in the DDL.
How to reproduce:
- Load bucket beer-sample
- Create dataset beers on bucket beer-sample
- Drop bucket beer-sample
- Connect the link for the beers dataset
- Observe the error returned in the popup message.
// Edit:
It shows in the screenshot that the message is cut at the end. What will happen if (this is fixed) and we still show a very long error message, will it be cut or does the popup adapt to the length?
The fix for this is straightforward - adding a check for the existence of data.errors in the return status and limiting the error message to that. Hussain Towaileb - If the error message is super long, it will be truncated. I don't have a good solution for that, especially for the short 6.6.2 timeframe. In the longer term we need a better way of displaying error statuses, which come in many forms, and sometimes need to be truncated.