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

Random concurrency error? #38

Closed
coni2k opened this issue May 27, 2015 · 1 comment
Closed

Random concurrency error? #38

coni2k opened this issue May 27, 2015 · 1 comment
Labels

Comments

@coni2k
Copy link
Contributor

coni2k commented May 27, 2015

Once in a while, there is a concurrency error.
Find him and destroy him!

@coni2k coni2k added the bug label May 27, 2015
@coni2k
Copy link
Contributor Author

coni2k commented May 27, 2015

This was happening when there is new user level entity being created on client-side.
Since UserId was not set, it was creating the entity with value 0 on client-side. After inserting the record on server-side, it's sending the entity back to client with it's proper UserId. breeze thinks this is a new entity and creates a new one, since it can't match Ids and it was failing for the next operations.

Now while creating the new entities, it also sets UserId, which solves the issue.

@coni2k coni2k closed this as completed May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant