Breeze / breeze.js.samples

Breeze JavaScript Client sample applications
MIT License
96 stars 85 forks source link

New items in Todo-zuma app not stashed #27

Closed pascalberger closed 9 years ago

pascalberger commented 9 years ago

A follow up to https://github.com/Breeze/breeze.js.samples/pull/26 / https://github.com/Breeze/breeze.js.samples/commit/7815afb0d4ae26f4736f261e489a38e703745561

In my case stashing on adding new items no longer works, as mentioned in my pull request (which should contain both lines changed):

To reproduce: * Take current sample code (7815afb0d4ae26f4736f261e489a38e703745561) * Windows 8.1 / Google 39 * Start with launch-windows.lnk * Set breakpoint in wip-service.js line 60 * Add new todo item --> Breakpoint is not reached / F5 and new item don't show up

Only EntityStateChange and Attach events are called.

wardbell commented 9 years ago

Oops. Last fix broke the add/delete. I believe I have corrected the problem. Try pulling now and see if I'm right. Thanks for the help.

pascalberger commented 9 years ago

Yes, this is what I've done in my application also and which seems to work fine.