bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29626] DBModeler hangs while trying to save a model containing a r


From: Sergey Golovin
Subject: [bug #29626] DBModeler hangs while trying to save a model containing a relationship with the option "propagatesPrimaryKey" is on
Date: Wed, 21 Apr 2010 13:25:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]