* EOAccess/EOAttribute.m: Add comment

* EOControl/EOEditingContext.m: Do not raise on inserting bad objects for now
(Non-EOCustomObject subclasses)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30285 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Dave Wetzel 2010-05-03 09:38:59 +00:00
parent 216724f0c0
commit ff63a21003
3 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-05-03 David Wetzel <dave@turbocat.de>
* EOAccess/EOAttribute.m: Add comment
* EOControl/EOEditingContext.m: Do not raise on inserting bad objects for now
(Non-EOCustomObject subclasses)
2010-05-02 Matt Rice <ratmice@gmail.com>
* DBModeler/ModelerTableEmbedibleEditor.h/m: Remove usage of

View file

@ -473,6 +473,13 @@ RCS_ID("$Id$")
return _docComment;
}
// http://www.omnigroup.com/mailman/archive/eof/1997/003003.html
/*
Eric Hermanson wrote:
The precision is the number of digits including after decimal digits. The scale is after
decimal digits. Therefore, 12345.67 has a precision of 7 and a scale of 2. The
difference between precision/scale really does need to be documented a bit better.
*/
- (int)scale
{
if (_scale)

View file

@ -1422,7 +1422,8 @@ _mergeValueForKey(id obj, id value,
NSAssert(object, @"No Object");
NSAssert([object isKindOfClass:[EOCustomObject class]] , @"Sorry, only subclasses of EOCustomObject supported in this version.");
// give people a bit more time -- dw May, 2010
//NSAssert([object isKindOfClass:[EOCustomObject class]] , @"Sorry, only subclasses of EOCustomObject supported in this version.");
//GSWDisplayGroup -insertAtIndex+EODataSource createObject call insert ! So object is inserted twice