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

Metadata system triggers a nil router error in api.rb with basic setup #655

mikemattball opened this issue Nov 15, 2017 · 0 comments


Copy link

@mikemattball mikemattball commented Nov 15, 2017

When COLLECT_METADATA is added to the basic setup, it fails on the collect metadata prompt when "OK" is pressed.

I traced the problem to be at about line 588 of api.rb. This is dealing with routers. The call to get routers above it is not returning any routers because there are none defined in this basic setup. Then the call to write to the router fails and is trapped by the error handler, which reports the nil router issue.

The router write should be protected from when there are no routers configured.

@ryanatball ryanatball self-assigned this Nov 16, 2017
@ryanmelt ryanmelt added the bug label Nov 20, 2017
@ryanmelt ryanmelt added this to the v4.1.0 milestone Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.