
lazy attribute validation prevents record update
Reported by Oleg Andreev | November 19th, 2008 @ 05:42 AM
Failing regression spec shows the bug:
http://github.com/oleganza/dm-co...
I've found the bug when set up validations for lazy-loaded attributes. dm-validation loads such attributes and "dirty?" becomes false in the middle of save. Before #update is called, dm-core checks dirty? and prevents update.
Comments and changes to this ticket
-
Dan Kubb (dkubb) November 30th, 2008 @ 01:10 AM
- State changed from new to open
- Assigned user changed from Sam Smoot to Dan Kubb (dkubb)
Oleg, I believe I've fixed this in my last set of commits to edge DM: http://github.com/sam/dm-core/tr...
Could you install this and let me know if this is still a problem for you?
-
Dan Kubb (dkubb) December 1st, 2008 @ 01:37 AM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »