If I do a normal load it happens the same. The thing is that GoferMetacelloLoad fetches first some version using the blessing and then using the version number/symbol. On Sun, Apr 27, 2014 at 2:05 PM, Max Leske <maxleske@gmail.com> wrote:
On 27.04.2014, at 13:55, Guillermo Polito <guillermopolito@gmail.com> wrote:
Hi guys!
I'm having different behaviors when loading metacello configurations using the configuration directly and using gofer:
"This loads well" Gofer it smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver'; package: 'ConfigurationOfOpenDBXDriver'; load.
(ConfigurationOfOpenDBXDriver project version: #stable) load: âdefault'
Youâre not specifying âdefaultâ below. Could that make a difference?
"This tries to load the version 1.2 of the configuration which is not
stable and doesn't work on pharo3..."
Gofer it smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver'; configurationOf: 'OpenDBXDriver'; loadVersion: #stable.
Apparently that's because...
In GoferMetacelloLoad>>metacelloVersion
It tries to fetch the first the latest version for a blessing and just afterwards it tries to get the explicit version...
And yes!
ConfigurationOfOpenDBXDriver project latestVersion: #stable => 1.2
But that is using the blessing... So yes, blessing of version 1.2 is stable.
Shouldn't the #loadVersion: from Gofer behave the same as Metacello?
Anyways, I can change the blessing of my old version I think, that can solve my problem quickly :)
Guille