Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-7790

[assist] The right assistant should silence errors if there's a missing table with DB in a qualified identifier

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: app.editor
    • Labels:
      None

      Description

      i.e "SELECT * FROM bogus_db.bogus_tbl"

      can return:

      {"status": 0, "code": 500, "error": "AuthorizationException: User 'hue' does not have privileges to access: bogus_db.bogus_tbl\n"}

      XMLHttpRequest.send @ (index):7477
      send @ jquery.js:8623
      ajax @ jquery.js:8152
      fetchAssistData @ apiHelper.65fa2c76fddb.js:2202
      ApiHelper.fetchPanelData @ apiHelper.65fa2c76fddb.js:1755
      AssistDbEntry.loadEntries @ assistDbEntry.9f5e644fdcdf.js:465
      (anonymous) @ assistDbEntry.9f5e644fdcdf.js:69
      notifySubscribers @ knockout-latest.debug.js:1320
      (anonymous) @ knockout-latest.debug.js:1359
      e @ knockout-latest.debug.js:1087
      t @ knockout-latest.debug.js:1097
      attributes (async)
      (anonymous) @ knockout-latest.debug.js:1048
      n @ knockout-latest.debug.js:1104
      schedule @ knockout-latest.debug.js:1112
      (anonymous) @ knockout-latest.debug.js:1195
      i._limitChange @ knockout-latest.debug.js:1366
      d @ knockout-latest.debug.js:1272
      valueHasMutated @ knockout-latest.debug.js:1529
      t @ knockout-latest.debug.js:1495
      (anonymous) @ assistDbSource.f66efeade552.js:215
      (anonymous) @ hue.utils.2060433e101e.js:472
      publish @ hue.utils.2060433e101e.js:470
      (anonymous) @ ko.hue-bindings.298605e63dd5.js:4111
      (anonymous) @ ko.hue-bindings.298605e63dd5.js:4046
      c @ jquery.js:3073
      add @ jquery.js:3119
      identifyComplexLocations @ ko.hue-bindings.298605e63dd5.js:4038
      (anonymous) @ ko.hue-bindings.298605e63dd5.js:4058
      (anonymous) @ hue.utils.2060433e101e.js:472
      publish @ hue.utils.2060433e101e.js:470
      aceSqlLocationWorker.onmessage @ VM826:1135

        Attachments

          Activity

            People

            • Assignee:
              johan.ahlen Johan Åhlén
              Reporter:
              johan.ahlen Johan Åhlén
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: