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

Group
 
 

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

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Wed 05 May 2010 04:31:04 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-06 rmottola StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2010-05-06 gcasa StatusIn Progress Ready For Test
        Open/ClosedOpen In Test
    2010-05-05 gcasa StatusNone In Progress
        Assigned toNone gcasa
    2010-05-05 rmottola Item GroupNone Change Request

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code