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

Comments

Projects
None yet
3 participants
@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