Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007218 [Squeak] Kernel minor always 10-26-08 02:01 04-18-10 21:59
Reporter Keith_Hodges View Status public  
Assigned To
Priority normal Resolution open  
Status closed   Product Version 3.10.2
Summary 0007218: ClassOrganizer categories breaks if given an empty array
Description ClassOrganizer categories: attempts to ensure that the list of categories matches the existing ones. However if the class has no methods/elements this test fails.

So if you call categorizer with an empty array, on a class with no elements/methods the net result is that the data structure is corrupted.

categoryStops gets set to #() when it should be at least #(0)
Additional Information
Attached Files  Categorizer-categories.st [^] (1,141 bytes) 10-26-08 02:18
 EmptyCategoryList-M7218.2.cs [^] (1,153 bytes) 01-19-09 20:19

- Relationships
child of 0007423new  Fixes included in Level Playing Field 

- Notes
(0012752 - 84 - 116 - 116 - 116 - 116 - 116)
Keith_Hodges
10-26-08 02:19

"fix begin"
Installer mantis bug: 7218 fix: 'Categorizer-categories.st'.
"fix end"
 
(0012753 - 71 - 71 - 71 - 71 - 71 - 71)
Keith_Hodges
10-26-08 02:22

SystemEditor was the culprit that calls categories: with an empty array
 
(0012928 - 172 - 216 - 216 - 216 - 216 - 216)
matthewf
01-19-09 20:21

The previous changeset had an underscore assignment, and so won't load in Croquet

"fix begin"
Installer mantis bug: 7218 fix: 'EmptyCategoryList-M7218.2.cs'.
"fix end"
 
(0013415 - 66 - 72 - 222 - 222 - 222 - 222)
nicolas cellier
11-29-09 20:55

Fixed in trunk
http://source.squeak.org/trunk/Kernel-nice.307.mcz [^]
 

- Issue History
Date Modified Username Field Change
10-26-08 02:01 Keith_Hodges New Issue
10-26-08 02:18 Keith_Hodges File Added: Categorizer-categories.st
10-26-08 02:19 Keith_Hodges Note Added: 0012752
10-26-08 02:22 Keith_Hodges Note Added: 0012753
12-16-08 17:51 Keith_Hodges Status new => confirmed
12-16-08 17:51 Keith_Hodges Fixed in Version  => 3.10.2bc
01-09-09 23:31 Keith_Hodges Status confirmed => resolved
01-19-09 20:19 matthewf File Added: EmptyCategoryList-M7218.2.cs
01-19-09 20:21 matthewf Note Added: 0012928
11-28-09 02:25 matthewf Relationship added child of 0007423
11-29-09 20:55 nicolas cellier Note Added: 0013415
04-18-10 21:59 andreas Status resolved => closed


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