Bug? The toolbox does not recognized the #default configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug? The toolbox does not recognized the #default configuration

Alexandre Bergel-5
Hi!

I opened the ISSUE #107 with the following comment:

What steps will reproduce the problem?
1. I have ConfigurationOfRPackage which has only one baseline named #default:
2. I have ConfigurationOfMoose which contains in its #default: baseline
  spec project: 'RPackage' with: [
                                spec
                                        className: 'ConfigurationOfRPackage';
                                        version: 'default';
                                        file:  'ConfigurationOfRPackage';
                                        repository: 'http://www.squeaksource.com/PharoTaskForces' ].

3. Doing "(MetacelloToolBox validateConfiguration: ConfigurationOfMoose) explore." gives me "Error: Cannot resolve version '' for the project reference 'RPackage' in version '4.3.1' { cannotResolveVersion } [ #validateVersionSpec: ]"


What is the expected output? What do you see instead?
I would expect the line "project: 'RPackage' with: 'default'." to be produced it I instead obtained "project: 'RPackage' with: ''."

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.