0
dcpar created
We're experiencing this exact issue.
<a class="postlink" href="http://stackoverflow.com/questions/36129794/why-does-my-updateasyncuser-method-fail-the-first-time-claiming-user-doesnt">http://stackoverflow.com/questions/3612 ... ser-doesnt</a>
- User starts up the app (not currently logged in) and clicks button to post viewModel to server.
- The app logs the user in,
- If the viewModel is different than the existing user's data, the server attempts to update it.
- This update will fail with "There is no user with id: 99"
- User clicks button again and posts the same data to the server. (this time user has been logged in from previous failed post)
- viewModel is still different than existing data (remember, the update failed last time)
- await _userManager.UpdateAsync(user); works and the record is updated.
Has there been any resolution to this?
1 Answer(s)
-
0
see my answer: <a class="postlink" href="http://stackoverflow.com/questions/36129794/why-does-my-updateasyncuser-method-fail-the-first-time-claiming-user-doesnt/40420910#40420910">http://stackoverflow.com/questions/3612 ... 0#40420910</a>