URL:
<http://savannah.gnu.org/bugs/?29626>
Summary: DBModeler hangs while trying to save a model
containing a relationship with the option "propagatesPrimaryKey" is on
Project: GNUstep
Submitted by: svg
Submitted on: Срд 21 Апр 2010 18:25:45
Category: gdl2
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
There are two identical loops at ConsistencyChecker.m:158 and
ConsistencyChecker.m:174 containing typos:
------------------------------------------------------------
for (k = 0, e = [pkAttribs count]; ok == YES && k < e; i++)
{
pkey = [pkAttribs objectAtIndex:k];
ok = [attribs containsObject:pkey];
}
------------------------------------------------------------
I believe there should be "k++" instead "i++".
The patch is attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Срд 21 Апр 2010 18:25:46 Name:
gdl2_DBModeler_ConsistencyChecker.patch Size: 1007B By: svg
<http://savannah.gnu.org/bugs/download.php?file_id=20291>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29626>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep