Skip to content

UserAuth should be retrieved using integer ID in RavenUserAuthRepository. - #30

Closed
jongeorge1 wants to merge 1 commit into
ServiceStackV3:masterfrom
Earthware:master
Closed

UserAuth should be retrieved using integer ID in RavenUserAuthRepository.#30
jongeorge1 wants to merge 1 commit into
ServiceStackV3:masterfrom
Earthware:master

Conversation

@jongeorge1

Copy link
Copy Markdown

The GetUserAuth method needs to convert the userAuthId to an int before loading the UserAuth from Raven. If a string is used, Raven can load the wrong document causing a cast exception when it tries to convert it to a UserAuth.

…, as this can cause Raven to load the wrong document.
@jongeorge1

Copy link
Copy Markdown
Author

Sorry, just noticed that this pull request is almost identical to #22. What needs to happen in order to get one of them progressed?

@mythz

mythz commented Sep 20, 2013

Copy link
Copy Markdown
Contributor

Just needed to be bumped as I seemed to lose notification on it :), #22 is merged now.

@mythz mythz closed this Sep 20, 2013
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.

2 participants