BugsBiteBugs / sqlitepersistentobjects

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

Trying to do parent/child, but not quite getting it, any tips? (newbie problem...) #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have modified the test code to have a child relationship to the Person
object - a collection of Limb objects (see attached diff)
2. It does a crude add of a random number of limbs
3.

What is the expected output? What do you see instead?
I seem to have broken the existing Person maintenance logic, it seems to
replace Person entries when you create more than one.. but I can't see why.

What version of the product are you using? On what operating system?
Rev 35, Mac os x 10.5.6, iphone simulator, 2.2

Please provide any additional information below.
Sorry, I know this is a bug in my code...

Original issue reported on code.google.com by kimptoc on 20 Dec 2008 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
Doh - fixed it - my init method was not calling the super init, see new diff 
attached

Original comment by kimptoc on 20 Dec 2008 at 10:59

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by amle...@gmail.com on 17 Jan 2009 at 2:47