aybekckaya / sqlitepersistentobjects

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

Can't Delete Object With Camel Case Class Name [fix included] #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a persistent object with a CamelCase class name, i.e. DCTestObject
2. Try to delete an instance of that object.

What do you see instead?
Returns error message "Error deleting row in table: no such table: DCTestObject"

These lines need to be changed in SQLitePersistentObject.m:
Line 702: [self className] to [[self class] tableName]
Line 722: [self className] to [[self class] tableName]
Line 730: [self className] to [[self class] tableName]

Original issue reported on code.google.com by davidjc...@gmail.com on 7 Sep 2008 at 7:11

GoogleCodeExporter commented 8 years ago
Fix was checked into the project today, thanks!

Original comment by jeff.lam...@gmail.com on 21 Oct 2008 at 4:27