bugGNUstep - Bugs: bug #10026, Gorm doesn't handle changing...

Group
 
 

bug #10026: Gorm doesn't handle changing outlet names well

Submitter:  None
Submitted:  Mon 16 Aug 2004 12:59:17 AM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Aug 2004 04:18:34 AM UTC, comment #1: 

The issue was in the GormClassInspector.  There needed to be a call to the method -[GormDocument removeConnectionsWithLabel:forClassNamed:isAction:] in both the data source for the actions table and for the outlets table.   This call queries the user to make certain he/she wishes to allow the change before replacing the outlet/action in the class and disconnecting existing connections.   This is consistent with other functionality in Gorm.  GJC

Gregory John Casamento <gcasa>
Group administrator
Mon 16 Aug 2004 12:59:17 AM UTC, original submission:  

How to reproduce:
  Make a subclass with a couple outlets and set the NSOwner to
that subclass and fill in connections to various objects. 
(I personally had them connected to color wells).

  Then rename one of the outlets on the subclass to
something else.  Go back to the NSOwner and look at the
connections list in the inspector.  The connections still
exist with the old names.  They should either be removed
or even better renamed to have the renamed outlet names.

Anonymous

 

(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

 

CC list is empty

 

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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-18 gcasa StatusNone Fixed
    Assigned toNone gcasa
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code