Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up404 gives error #16
404 gives error #16
Comments
This comment has been minimized.
This comment has been minimized.
So it looks like the context is the problem.
In vision/index.js the context is default set to null it will fail on different methods like |
This comment has been minimized.
This comment has been minimized.
@Torsph It looks to me like this issue only occurs when no global context is supplied, no handler context is supplied, and a layout template is being used. Does that sound consistent with your experience? Making the default global context an empty object will cause handler supplied context objects to be copied unnecessarily. Instead, what do you think about doing something like |
This comment has been minimized.
This comment has been minimized.
@jagoda Thats correct. It is consistent with my experience. Totally agree with you about the unnecessarily copy of the context.
|
This comment has been minimized.
This comment has been minimized.
Go for it! :-) |
Hi!
It looks like vision gives a error on 404 pages and just hangs the server. I will look into it later, but for now I just thought you should know. Maybe it is some easy error? Or is it related to the updates you are making on the hapi 8.0 release?