Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000138 [tweak] minor always 09-09-04 00:27 04-29-05 04:59
Reporter tedka View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved  
Summary 0000138: addField menu item breaks in a CBrowser
Description Choose addField in the class category of a Browser, name the new field, and enter. Brings up an error window.
The problem is in the #addField method. These two lines need to be removed:
    aClass fieldNames: (aClass fieldNames,' ', fieldName).
    aClass compilePropertyFor: fieldName defaultValue: nil.

and something like this needs to be added:
    fieldDef _ CFieldDefinition new.
    "fill in fieldDef's inst vars from info already in this method"
     ...
    aClass addField: fieldDef defaultValue: nil.

(With some encouragement, I would finish this, but I might mess it up. --Ted.)
Additional Information
Attached Files

- Relationships

- Notes
(0001450 - 21 - 21 - 21 - 21 - 21 - 21)
andreas
04-29-05 04:59

No longer applicable.
 

- Issue History
Date Modified Username Field Change
09-09-04 00:27 tedka New Issue
04-29-05 04:59 andreas Status new => resolved
04-29-05 04:59 andreas Resolution open => fixed
04-29-05 04:59 andreas Assigned To  => andreas
04-29-05 04:59 andreas Note Added: 0001450
04-29-05 04:59 andreas Assigned To andreas =>


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
36 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker