Uh oh!
There was an error while loading. Please reload this page.
need to check if the context is active - #2636
Conversation
if you for example load the explorer, you don't have any active context, and it will fail here then with the message: "Error: No context available. ns.run() or ns.bind() must be called first."
slnode
commented
Aug 16, 2016
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
slnode
commented
Aug 16, 2016
Can one of the admins verify this patch? |
3 similar comments
slnode
commented
Aug 16, 2016
Can one of the admins verify this patch? |
slnode
commented
Aug 16, 2016
Can one of the admins verify this patch? |
slnode
commented
Aug 16, 2016
Can one of the admins verify this patch? |
bajtos
commented
Aug 16, 2016
Thank you @azatoth for the pull request. As I mentioned in Gitter, I think this is fixing a wrong place. |
bajtos
commented
Aug 16, 2016
@azatoth please reproduce the problem using loopback-context only, add a failing test to https://github.com/strongloop/loopback-context/blob/268716f69eec246b4ae0f7e402147b6fcbc924cf/test/main.test.js and then try to fix the problem directly in loopback-context. |
bajtos
commented
Aug 17, 2016
Reopening. So apparently |
slnode
commented
Aug 17, 2016
Can one of the admins verify this patch? |
3 similar comments
slnode
commented
Aug 17, 2016
Can one of the admins verify this patch? |
slnode
commented
Aug 17, 2016
Can one of the admins verify this patch? |
slnode
commented
Aug 17, 2016
Can one of the admins verify this patch? |
slnode
commented
Aug 17, 2016
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
bajtos
commented
Aug 17, 2016
@slnode ok to test |
bajtos
commented
Aug 17, 2016
Closing in favour of #2649 |
if you for example load the explorer, you don't have any active context,
and it will fail here then with the message:
"Error: No context available. ns.run() or ns.bind() must be called
first."
Fixstrongloop/loopback-context#6