bugGNUstep - Bugs: bug #29626, DBModeler hangs while trying to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29626: DBModeler hangs while trying to save a model containing a relationship with the option "propagatesPrimaryKey" is on

Submitted by:  Sergei Golovin <svg>
Submitted on:  Wed 21 Apr 2010 01:25:45 PM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

Sat 24 Apr 2010 02:07:30 PM UTC, comment #1:

Thanks! Committed.

David Ayers <ayers>
Project MemberIn charge of this item.
Wed 21 Apr 2010 01:25:45 PM UTC, original submission:

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.

Sergei Golovin <svg>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ayers (Posted a comment)
  • -unavailable- added by svg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Apr 2010 02:07:30 PM UTCayersStatusNone=>Fixed
      Assigned toNone=>ayers
      Open/ClosedOpen=>Closed
    Wed 21 Apr 2010 01:25:46 PM UTCsvgAttached File-=>Added gdl2_DBModeler_ConsistencyChecker.patch, #20291

    Back to the top


    Powered by Savane 3.1-cleanup1