Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Metadata system triggers a nil router error in api.rb with basic setup #655
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.