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

Edit API template doesn't render #799

Closed
55 opened this issue Jan 26, 2016 · 2 comments
Closed

Edit API template doesn't render #799

55 opened this issue Jan 26, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@55
Copy link
Contributor

55 commented Jan 26, 2016

Got this in console while editing API. After page refresh template doesn't render.
Went to:

  1. Catalogue
  2. View Details
  3. Edit API Settings
  4. Updated the page
debug.js:41 Exception in callback of async function: TypeError: Cannot read property 'currentUserCanEdit' of undefined
    at ensureCanEditApiBackend (http://localhost:3000/app/lib/_config/router.js?9e6050ff7571d920bcee8b9a9572b5b4e5e139c0:38:33)
    at http://localhost:3000/packages/iron_router.js?c564289eeaa191561eba900052037432ebfcbe4a:1203:36
    at _.extend.withValue (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:971:17)
    at hookWithOptions (http://localhost:3000/packages/iron_router.js?c564289eeaa191561eba900052037432ebfcbe4a:1202:27)
    at boundNext (http://localhost:3000/packages/iron_middleware-stack.js?3370bd57ef7b310cca3f5dddb11b77fafdcfc1eb:418:31)
    at null.next (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:999:22)
    at redirectToSignIn (http://localhost:3000/app/lib/_config/router.js?9e6050ff7571d920bcee8b9a9572b5b4e5e139c0:13:10)
    at http://localhost:3000/packages/iron_router.js?c564289eeaa191561eba900052037432ebfcbe4a:1203:36
    at _.extend.withValue (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:971:17)
    at hookWithOptions (http://localhost:3000/packages/iron_router.js?c564289eeaa191561eba900052037432ebfcbe4a:1202:27)
iron_core.js:18 Route dispatch never rendered. Did you forget to call this.next() in an onBeforeAction?
@55 55 added the bug label Jan 26, 2016
@brylie brylie added the planning label Feb 1, 2016
@brylie brylie self-assigned this Feb 1, 2016
@bajiat bajiat added this to the Sprint 22 milestone Feb 2, 2016
@brylie brylie added in progress and removed ready labels Feb 4, 2016
@brylie
Copy link
Contributor

brylie commented Feb 4, 2016

I cannot duplicate this error. In step 4, what did you do to update the page?

@brylie
Copy link
Contributor

brylie commented Feb 4, 2016

I have done the following to try and reproduce:

  1. log in as administrative user
  2. go to Catalog
  3. view API Backend
  4. click Edit
  5. make a change to API Backend (title)
  6. click update
  7. notice that the changes were successful on Apinf
  8. verify the changes on umbrella.apinf.io

Everything seems to be working as expected.

Also, on what branch are you testing?

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

3 participants