Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007080 [Squeak] Monticello major always 06-04-08 23:25 06-07-08 02:42
Reporter matthewf View Status public  
Assigned To
Priority normal Resolution open  
Status feedback   Product Version
Summary 0007080: In MC1.5, Packages with traits seem to behave incorrectly in some repositories
Description In my image, with Kernel-Extensions-kph.45 and Monticello.impl-kph.505, I try printing this, and it answers true, as it should:

SmalltalkImage current freeSpace.
((MCHttpRepository
        location: 'http://source.squeakfoundation.org/310' [^]
        user: '' password: '')
        versionFromFileNamed: 'Traits-dc.229.mcz')
        snapshot definitions anySatisfy: [:ea |
                ea isKindOf: MCTraitDefinition]

However, I print this, and it answers false:

SmalltalkImage current freeSpace.
(MCCacheRepository default
        versionFromFileNamed: 'Traits-dc.229.mcz')
        snapshot definitions anySatisfy: [:ea |
                ea isKindOf: MCTraitDefinition]

The only significant difference I see is which repository you load it from, but in the latter, it is completely broken (MC says that Traits are Classes)
Additional Information
Attached Files  Object-readDataFromsize.st [^] (1,325 bytes) 06-04-08 23:27

- Relationships

- Notes
(0012255 - 320 - 332 - 332 - 332 - 332 - 332)
matthewf
06-04-08 23:29

Object-readDataFromsize.st is a file-out of a modification I made to that method to halt whenever the reader finds the MCDefinition of TTraitsCategorisingDescription in the file.

When this halt traps in the first do-it, you are reading a MCTraitDefinition; within the second do-it, you are reading a MCClassDefinition
 
(0012267 - 42 - 42 - 42 - 42 - 42 - 42)
Keith_Hodges
06-07-08 02:35

Should be fixed in Monticello.impl-kph.515
 

- Issue History
Date Modified Username Field Change
06-04-08 23:25 matthewf New Issue
06-04-08 23:25 matthewf Status new => assigned
06-04-08 23:25 matthewf Assigned To  => avi
06-04-08 23:25 matthewf Assigned To avi =>
06-04-08 23:25 matthewf Issue Monitored: matthewf
06-04-08 23:27 matthewf File Added: Object-readDataFromsize.st
06-04-08 23:29 matthewf Note Added: 0012255
06-04-08 23:31 matthewf Status assigned => new
06-04-08 23:31 matthewf Description Updated
06-07-08 02:35 Keith_Hodges Note Added: 0012267
06-07-08 02:42 Keith_Hodges Status new => feedback


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
48 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker