nickesk / pyactiveresource

Automatically exported from code.google.com/p/pyactiveresource
Other
0 stars 0 forks source link

Errors aren't cleared from previous save attempts #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a resource in memory with attributes that will cause a validation 
error
2. Call resource.save() # returns => false
3. Fix the resource's attributes
4. Call resource.save() # returns => true

What is the expected output? What do you see instead?
The resource.errors should be empty, but instead it contains errors from a 
previous save attempt.

What version of the product are you using? On what operating system?
Version: http://pyactiveresource.googlecode.com/svn/trunk@91
Mac OS X

Please provide any additional information below.
Patch attached that fixes this bug.

Original issue reported on code.google.com by Dylan.Sm...@jadedpixel.com on 22 Oct 2011 at 11:21

Attachments:

GoogleCodeExporter commented 9 years ago
This has been committed. Thanks, and sorry about the wait.

Original comment by mrro...@google.com on 19 Apr 2012 at 2:55

GoogleCodeExporter commented 9 years ago

Original comment by mark.r.r...@gmail.com on 19 Apr 2012 at 2:56