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

Fail properly when Base URL Resolution fails #1704

Conversation

davemevans
Copy link
Contributor

Debugging #1701 showed a bug that has always existed but was only exposed once the fast switch changes were added.

If URL resolution fails, an event is fired which stops the scheduler. If you subsequently try to resolve a Base URL after this (which in theory should never happen, but can in certain circumstances), the resolver can return unexpected results. This change ensures that no sensible result is returned once a failure has occurred.

This is a one line change (L91, BaseURLController) - all the other stuff is simply to get the test running to verify the fix.

Copy link
Contributor

@dsparacio dsparacio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsparacio dsparacio merged commit bf57755 into Dash-Industry-Forum:development Dec 13, 2016
@davemevans davemevans deleted the FailProperlyOnBaseURLResolutionFailure branch December 13, 2016 21:16
@davemevans davemevans added this to the v2.4.0 milestone Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants