We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems like the reset() method on a model instance does not reset the id attribute correctly. Example:
reset()
id
var model = new Y.Model(); model.set('id', 'an id'); model.reset(); // model.get('id') still returns 'an id'
For an unknown reason (to me), at some point the internal state of model object gets the id value as its initValue and this breaks the reset process.
initValue
The text was updated successfully, but these errors were encountered:
Fix EZP-23584: Impossible to edit and publish the same content 2 time…
e9f6d49
…s in a row This is caused by yui/yui3#1982 and the fix introduces a workaround for that.
c193018
No branches or pull requests
It seems like the
reset()
method on a model instance does not reset theid
attribute correctly.Example:
For an unknown reason (to me), at some point the internal state of model object gets the id value as its
initValue
and this breaks the reset process.The text was updated successfully, but these errors were encountered: