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

Correctly check for PropertyChange action #26

Closed

Conversation

pascalberger
Copy link

Currently the check for propertyChange is not working (It compares twice undefined). This PR fixes this. But as consequence stashing no longer happens for newly created ToDo entities, since for them no propertyChange event is raised.

@wardbell
Copy link
Member

Well not sure how this slipped by for so long. You fixed ONE of the TWO companion errors ... the other being a few lines above where it said var propChangeAction = breeze.PropertyChange; instead of var propChangeAction = breeze.EntityAction.PropertyChange;

As you noted, if you only make the fix you caught, stashing no longer works. But if we fix BOTH, we're in business.

I fixed both error on our end (see 7815afb0d4) so I won't be able to pull. But THANK YOU for catching this and contributing!

@wardbell wardbell closed this Nov 29, 2014
wardbell added a commit that referenced this pull request Nov 29, 2014
See #26
Coincidental change to saveQueuing.spec to remove last ".getProperties" call
@pascalberger pascalberger deleted the FixEntityStateChangeHandler branch April 14, 2015 11:27
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