[Seaside-dev] getting instances of abstract "GitBased" superclass..

Chris Muller ma.chris.m at gmail.com
Tue Oct 20 19:38:09 UTC 2015


In Seaside 3.2 for Squeak there seems to be a problem with one of the
Pragma preferences:

a PragmaPreference
        name:     #'GitHub Cache'
        value:     nil
        defaultValue:     nil
        helpString:     ''
        localToProject:     false
        categoryList:     #(#Metacello)
        changeInformee:     nil
        changeSelector:     nil
        type:     #String
        provider:  MCGitBasedNetworkRepository  "<-- lookie here, problem"
        getter:     #cacheDirectoryPath
        setter:     #cacheDirectoryPath:

Somehow, the 'provider' has been initialized to a
MCGitBasedNetworkRepository whose #basicDescription is a
subclassResponsibility.  So the PragmaPreference is unable to access its
#preferenceValue.

I was able to replace it in the debugger with its
subclass, MCGitHubRepository, and that fixed the Preferences panel blowing
up.  However, I'm not sure how it got initialized to that superclass in the
first place..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20151020/b74a9f01/attachment.htm


More information about the seaside-dev mailing list