documentcloud/backbone — Issue #927: change event not fired consistently when setting a value that was previously set silently
Author: kmiyashiro
Created: 2012-02-02 03:35:50+00:00
State: open

http://jsfiddle.net/kmiyashiro/mEhWC/1/

1. Set a property on a model to a value. (Change event fires)
2. Set the property to a different value using {silent: true} (No change event)
3. Set the property to the same value as step 1. (No change event) **<--- Not as expected**

This is definitely a change since 0.5.3 since my navigation no longer works and relied on change event firing consistently no matter what the previous value was. However, even if you suppress change events that set a value to the existing value, I would still consider this a bug since step 3 is indeed changing the value to something different than it is currently set to.