Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error and warning on empty dashboard #1641

Closed
philippeluickx opened this issue Sep 27, 2016 · 4 comments
Closed

Error and warning on empty dashboard #1641

philippeluickx opened this issue Sep 27, 2016 · 4 comments
Assignees
Labels

Comments

@philippeluickx
Copy link
Contributor

philippeluickx commented Sep 27, 2016

On nightly. Simply navigating to dashboard throws an error and a warning in console.
The text shows correctly on the page though:

You don't have any API Backend you manage.
To add an API Backend, click here.

4adc71e….js?meteor_js_resource=true:207 pathFor couldn't find a route named "addApiBackend-wizard"
4adc71e….js?meteor_js_resource=true:3 Exception in delivering result of invoking 'getElasticSearchData': TypeError: Cannot read property 'hits' of undefined
    at https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:393:14877
    at c._callback (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:3:7449)
    at c._maybeInvokeCallback (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:125:9141)
    at c.receiveResult (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:125:9449)
    at o._livedata_result (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:125:21537)
    at o (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:125:6987)
    at https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:125:608
    at Array.forEach (native)
    at Function.A.each.A.forEach (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:1:865)
    at r.t.socket.onmessage (https://nightly.apinf.io/4adc71e3c46d439cb6f8e80eeb5efd11b71cd0f0.js?meteor_js_resource=true:125:566)
4adc71e….js?meteor_js_resource=true:393 n {error: "No Living connections", reason: undefined, details: undefined, message: "[No Living connections]", errorType: "Meteor.Error"}
@bajiat bajiat added the bug label Sep 27, 2016
@bajiat
Copy link
Contributor

bajiat commented Sep 29, 2016

@frenchbread Could you take a look at the error?

@bajiat bajiat added the backlog label Sep 29, 2016
@frenchbread
Copy link
Contributor

Related to #1643.

Since we deprecated addApiBackend-wizard, the pathFor value (the URL) has not been changed. Changing the href parameter value for <a> tag should resolve this.

@brylie
Copy link
Contributor

brylie commented Oct 11, 2016

Both of these errors have been fixed in separate PRs.

@brylie
Copy link
Contributor

brylie commented Oct 11, 2016

We have also fixed the text link for 'no results available' to be a button.

Closing.

@brylie brylie closed this as completed Oct 11, 2016
@brylie brylie removed the backlog label Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants