bugGNUstep - Bugs: bug #10934, May add a method to subclass of...

 
 

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

bug #10934: May add a method to subclass of user class...

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Sun 07 Nov 2004 01:00:12 PM UTC  
 
Category: GormSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Mon 08 Nov 2004 01:02:06 AM UTC, comment #3:

Corrected.

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sun 07 Nov 2004 01:31:21 PM UTC, comment #2:

To further clarify, what I'm talking about here is not concerning what would normally happen with inheritance. The issue is that these methods will be saved as methods NewClass12 and NewClass123 in the data.classes file in the .gorm package when they shouldn't be. They should only appear on NewClass1 in the data.classes file.

The user should still see them in the inspector and the outline view as methods on NewClass1 and it's subclasses, but the issue was with the data.classes file.

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sun 07 Nov 2004 01:17:54 PM UTC, comment #1:

To clarify...

NewClass1 is the superclass...
NewClass12 is a subclas of NewClass1...
NewClass123 is a subclass of NewClass123

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sun 07 Nov 2004 01:00:12 PM UTC, original submission:

If the user has a deep hierarchy of several classes such as:

NewClass1 <- NewClass12 <- NewClass123

Then when the user adds a method to NewClass1, it might improperly get added to NewClass12 and NewClass123.

In practice this almost never happens since, most of the time, the classes inherit directly from a class like NSObject or NSView and don't have any subclasses of their own.

This is a minor problem as the resulting files present no problem when edited in Gorm.

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Date Changed By Updated Field Previous Value => Replaced By
Mon 08 Nov 2004 01:02:06 AM UTCgcasaStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1