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

Closed
mikemattball opened this issue Nov 15, 2017 · 0 comments
Closed
Labels
Milestone

Comments

@mikemattball
Copy link

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.

@ghost ghost mentioned this issue Nov 16, 2017
@ghost ghost self-assigned this Nov 16, 2017
@ghost ghost closed this as completed in 6e9ea2b 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
This issue was closed.
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

2 participants