bugGNUstep - Bugs: bug #29369, [EORelationship isToManyToOne]...

 
 

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

bug #29369: [EORelationship isToManyToOne] can't properly work for the typo

Submitted by:  Sergei Golovin <svg>
Submitted on:  Mon 29 Mar 2010 08:49:40 AM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

Sat 24 Apr 2010 02:08:09 PM UTC, comment #3:

Closing as fixed.

David Ayers <ayers>
Project MemberIn charge of this item.
Mon 19 Apr 2010 11:34:12 AM UTC, comment #2:

Change state to in test.

Fred Kiefer <FredKiefer>
Project Member
Tue 30 Mar 2010 09:39:57 AM UTC, comment #1:

Thanks! Patch applied.

David Ayers <ayers>
Project MemberIn charge of this item.
Mon 29 Mar 2010 08:49:40 AM UTC, original submission:

The following code has the typo in second call of [_definitionArray objectAtIndex:].
===================================================================
int count = [_definitionArray count];

if (count >= 2)
{
EORelationship *firstRelationship = [_definitionArray
objectAtIndex: 0];

isToMany = [firstRelationship isToMany];

<...>

if (isToMany)
{
EORelationship *secondRelationship =
[_definitionArray objectAtIndex: 0];
===================================================================
The parameter should be 1. That is what the patch does.

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 FredKiefer (Posted a comment)
  • -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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Apr 2010 02:08:09 PM UTCayersStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Mon 19 Apr 2010 11:34:12 AM UTCFredKieferOpen/ClosedOpen=>In Test
    Tue 30 Mar 2010 09:39:57 AM UTCayersStatusNone=>Ready For Test
      Assigned toNone=>ayers
    Mon 29 Mar 2010 08:49:40 AM UTCsvgAttached File-=>Added gdl2_EOAccess_EORelationship_isToManyToOne.patch, #20062

    Back to the top


    Powered by Savane 3.1-cleanup1