Hi. I'm a Smalltalk newcomer, slowly exploring Pharo to understand its potential and in the process I've found and fixed what seems to be a bug in Metacello (although it could be more widespread). So what now, how to best report the bug and my fix?
To reproduce the bug, in Pharo 8 or 9, simply chose 'Save' from the Monticello browser when a repository is selected and edit either the version name or the log message, you should see the error "/MCSaveVersionDialog doesn't understand #selectedClassOrMetaClass/". As far as I can tell, Pharo 8 introduced the idea of a CompletionEngine for Smalltalk text areas that sends /#selectedClassOrMetaClass/ to the text area. This method is implemented in descendants of MCCodeTool but doesn't exist in the parent MCTool - which is what MCSaveVersionDialog derives from. My fix reworks /MCTool>>textMorph:/ to allow the version dialog text areas to be constructed with the message #beForSmalltalkComment rather than #beForSmalltalkScripting. This works, but I have no idea if this is the best way, how to share my fix, or how to raise this as a bug with the Pharo maintainers to make Pharo a more stable platform. All advice is most welcome. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
