Issue 149 in metacello: MetacelloProjectSpecLoadError: No version found for #stable of ConfigurationOfProfStef

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

Issue 149 in metacello: MetacelloProjectSpecLoadError: No version found for #stable of ConfigurationOfProfStef

metacello
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Product-Core

New issue 149 by [hidden email]: MetacelloProjectSpecLoadError: No  
version found for #stable of ConfigurationOfProfStef
http://code.google.com/p/metacello/issues/detail?id=149

Pharo image: Pharo1.4a#14108
Virtual machine used: Squeak4.1 of 17 April 2010 [latest update: #9957]
Platform Name: unix
Class browser used (if applicable): Browser

Steps to reproduce:
#.
Gofer new
   squeaksource: 'MetacelloRepository';
   package: 'ConfigurationOfMetacello';
   load.
#.
(ConfigurationOfMetacello project version: #stable) load

#.
(ConfigurationOfMetacello project version: #stable) load: #('Tutorial').

Actual Result:
#.
MetacelloProjectSpecLoadError: No version found for #stable of  
ConfigurationOfProfStef

Expected Result:
#. to load metacello tutorial.

it would be nice to show the possible values, something like

MetacelloProjectSpecLoadError: No version found for #stable of  
ConfigurationOfProfStef, possible values are xxx, yyy, zzz

or

MetacelloProjectSpecLoadError: No version found for #stable of  
ConfigurationOfProfStef, there are no symbolic versions.

because you don't know if it is a typo or what.




Attachments:
        PharoDebug.log  29.7 KB

Reply | Threaded
Open this post in threaded view
|

Re: Issue 149 in metacello: MetacelloProjectSpecLoadError: No version found for #stable of ConfigurationOfProfStef

metacello
Updates:
        Labels: Milestone-1.0-beta.32

Comment #1 on issue 149 by [hidden email]:  
MetacelloProjectSpecLoadError: No version found for #stable of  
ConfigurationOfProfStef
http://code.google.com/p/metacello/issues/detail?id=149

(No comment was entered for this change.)

Reply | Threaded
Open this post in threaded view
|

Re: Issue 149 in metacello: MetacelloProjectSpecLoadError: No version found for #stable of ConfigurationOfProfStef

metacello
Updates:
        Status: Fixed
        Owner: [hidden email]
        Labels: Fixed-1.0-beta.32

Comment #2 on issue 149 by [hidden email]:  
MetacelloProjectSpecLoadError: No version found for #stable of  
ConfigurationOfProfStef
http://code.google.com/p/metacello/issues/detail?id=149

Fixed in Metacello 1.0-beta.32 (dkh.673).

Improved error messages by including list of possible versions for the  
following exceptions:

   MetacelloProjectSpecLoadError
   MetacelloSymbolicVersionDoesNotExistError
   MetacelloSymbolicVersionNotDefinedError
   MetacelloVersionDefinitionError
   MetacelloVersionDoesNotExistError

Cleaned up the use of exceptions in a couple of places and  
MetacelloProjectSpecLoadError relies upon MetacelloVersionDoesNotExistError  
for part of its description (inheriting improvements).

Ensure test coverage for the exceptions.

fix comment in  
MetacelloToolBox>>modifySection:repository:requiredProjects:packages:dependencies:includes:files:repositories:preLoadDoIts:postLoadDoIts:supplyingAnswers:groups:versionSpecsDo: