Comment #2 on issue 5954 by
[hidden email]: Nautilus subclass generation
fails when viewing class side.
http://code.google.com/p/pharo/issues/detail?id=5954Similar behavior is exhibited when trying to add a package to a group which
includes a class side extension. This is due to the block in
DialogGroupAdderUI>>text.
If this should be a new issue, I can add it elsewhere.
Attached is a small monticello package which loads a package Issue and
Issue-Core. Issue-Core defines MyClass, and Issue includes two extension
methods. The presence of the class extension raises a Metaclass
doesNotUnderstand prettyName error when attempting to add Issue to a group
in Nautilus. Issue-Core can be added to a group with no problems. Removing
the class side extension allows Issue to be added to the group.
It looks like a similar problem (Nautilus trying to act on
Metaclass/MetaObject for class side operations). This does not occur when
attempting to add the class or method to a group by selecting them, only
when the package is selected for adding and it contains a class extension
method.
Attachments:
Issue-DanielUber.1.mcz 1.3 KB
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker