bugGNUstep - Bugs: bug #29795, [gorm] unable to change superclass...

 
 

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

bug #29795: [gorm] unable to change superclass of the NSOwner without loosing connections

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Wed 05 May 2010 04:31:04 PM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Thu 06 May 2010 12:55:30 AM UTC, comment #2:

Please try to do this now... I have run through the use-case described and it works for me.

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Wed 05 May 2010 10:30:23 PM UTC, comment #1:

Recreated. I think I know what's causing this. Will correct it.

GC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Wed 05 May 2010 04:31:04 PM UTC, original submission:

1) the current NSowner class is set to X
X is subclass of NSObject.

I want to make X sublcass of Y. I first change the header

2) I load/parse Y
3) I reload/parse X

at this point the NSOwner "lost" its class (no class is set in the inspector) but the connections are still there

4) I set the class of the NSOwner to X again, a waring panel appears about loosing connections and they indeed get all lost.

since Y is a subclass of NSObject, making X a subclass of Y can't break any connection.

Riccardo Mottola <rmottola>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gcasa (Posted a comment)
  • -unavailable- added by rmottola (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 May 2010 04:38:31 PM UTCrmottolaStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Thu 06 May 2010 12:55:30 AM UTCgcasaStatusIn Progress=>Ready For Test
      Open/ClosedOpen=>In Test
    Wed 05 May 2010 10:30:23 PM UTCgcasaStatusNone=>In Progress
      Assigned toNone=>gcasa
    Wed 05 May 2010 04:31:29 PM UTCrmottolaItem GroupNone=>Change Request

    Back to the top


    Powered by Savane 3.1-cleanup1