To recap (to see if I understood you):
- Gofer loads the blessing, ignoring the platform
- Metacello loads the blessing only if it is defined for the current platform

If the above is correct, then I actually think that the Gofer version is the right way to do it. You *explicitly* ask for the stable blessing and you should get what you ask for.
Both should undoubtedly behave the same way though, so maybe you should open a bug report.

Max

On 27.04.2014, at 14:54, Guillermo Polito <guillermopolito@gmail.com> wrote:

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