Login  Register

Issue 107 in metacello: the toolbox does not recognized the #default configuration

Posted by metacello on Feb 16, 2011; 8:53pm
URL: https://forum.world.st/Issue-107-in-metacello-the-toolbox-does-not-recognized-the-default-configuration-tp3309707.html

Status: Accepted
Owner: [hidden email]
Labels: Type-Defect Priority-High Platform-Pharo

New issue 107 by [hidden email]: the toolbox does not recognized the  
#default configuration
http://code.google.com/p/metacello/issues/detail?id=107

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: ''."