Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-44768

UI Connect link failure in popup shows full response

    XMLWordPrintable

Details

    • 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?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          eben Eben Haber added a comment -

          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.

          eben Eben Haber added a comment - 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.

          Build couchbase-server-6.6.2-9562 contains cbas-ui commit 389cc74 with commit message:
          MB-44768 - Error dialog showing too much information

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.2-9562 contains cbas-ui commit 389cc74 with commit message: MB-44768 - Error dialog showing too much information
          eben Eben Haber added a comment -

          Fix has been merged into 6.6.2 and merged forward into 7.0

          eben Eben Haber added a comment - Fix has been merged into 6.6.2 and merged forward into 7.0

          Build couchbase-server-7.0.0-4671 contains cbas-ui commit 389cc74 with commit message:
          MB-44768 - Error dialog showing too much information

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4671 contains cbas-ui commit 389cc74 with commit message: MB-44768 - Error dialog showing too much information

          People

            eben Eben Haber
            Hussain.Towaileb Hussain Towaileb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty