Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Fix config.registry.auth_model missing properties crashing the server on startup #96

Merged
merged 4 commits into from
Nov 18, 2015

Conversation

oleduc
Copy link
Contributor

@oleduc oleduc commented Nov 11, 2015

Bug fixed: If the resource designated as the auth model is declared after a resource that depends on it in the main raml file, then config.registry.auth_model is not properly populated and the server will crash on startup.

Fix: Added an additional check when the model already exists to see if the model is designated as the auth model.

I also added a test case for this situation.

postatum added a commit that referenced this pull request Nov 18, 2015
Fix config.registry.auth_model missing properties crashing the server on startup
@postatum postatum merged commit 9f4abc9 into ramses-tech:develop Nov 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants