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

Exception in browser console, check sdkGenerator exist before checking host #1511

Closed
jykae opened this issue Sep 8, 2016 · 5 comments
Closed
Assignees
Labels
Milestone

Comments

@jykae
Copy link
Contributor

jykae commented Sep 8, 2016

Exception in single API view:

Exception in template helper: TypeError: Cannot read property 'host' of undefined
    at Object.codegenServerExists (http://localhost:3000/app/app.js?hash=d7ef681e32713d3e407b0f17dc79483f458e6287:30586:68)
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:2994:16
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1653:16
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3046:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3687:12)
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3045:27
    at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5:172:18)
    at Blaze.If.HTML.BUTTON.id (http://localhost:3000/app/app.js?hash=d7ef681e32713d3e407b0f17dc79483f458e6287:30388:24)
    at .<anonymous> (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:2677:44)
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1875:20

Comes from https://github.com/apinf/api-umbrella-dashboard/blob/develop/documentation/client/view/documentation.js#L67

@jykae jykae added the bug label Sep 8, 2016
@bajiat
Copy link
Contributor

bajiat commented Sep 8, 2016

@marla-singer Could you take a look at this error?

@bajiat bajiat added the planning label Sep 8, 2016
@marla-singer
Copy link
Contributor

@bajiat Yes

@marla-singer
Copy link
Contributor

marla-singer commented Sep 8, 2016

@jykae Can you please explain more details your steps? I pull last code from develop and can't catch this error.

@marla-singer
Copy link
Contributor

@jykae I could repeat error. Do you have this defenition in Settings schema? https://github.com/apinf/api-umbrella-dashboard/blob/develop/settings/collection/schema.js#L118-L143

@bajiat
Copy link
Contributor

bajiat commented Sep 9, 2016

@brylie commented that this has been fixed. Please verify whether this was fixed.

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