pharo-vcs / iceberg

Iceberg is the main toolset for handling VCS in Pharo.
MIT License
134 stars 85 forks source link

DNU in IceCritiquesVisitor (IceCritiquesVisitor did not understand #visitDirectoryDefinition:) #1591

Open astares opened 2 years ago

astares commented 2 years ago

I tried this in Pharo 10 release:

Now in the commit dialog you get:

image

and when you hit "Commit" a debugger opens:

image

I guess this is because the critiques had been added to Iceberg in Pharo 10 iteration and the visitor is not able to handle the directory definition.

astares commented 2 years ago

Implement it as an empty method in class IceCritiquesVisitor in category "visiting" easily fixes this:

visitDirectoryDefinition: anIceDirectoryDefinition 
    "Nothing to do here"

image

cminter commented 2 years ago

Implement it as an empty method in class IceCritiquesVisitor in category "visiting" easily fixes this:

I'm new to GToolkit/Pharo/Smalltalk and you just saved my day. I have watched a few tutorial videos and got stuck here due to that error. I don't really even know what happened other than bypassing this feature.