Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006777 [Squeak] Collections minor always 11-19-07 23:23 04-18-10 22:05
Reporter nicolas cellier View Status public  
Assigned To andreas
Priority normal Resolution fixed  
Status closed   Product Version 3.10
Summary 0006777: [BUG] CharacterSet copy is shallow...
Description "If we change the copy, we change the original"
    | cs1 cs2 |
    cs1 := CharacterSet separators.
    cs2 := cs1 copy.
    cs2 remove: Character tab.
    ^self should: (cs1 includes: Character tab).
Additional Information We just have to define a #postCopy.
I noticed few classes do.
They rather override #copy.
Attached Files  CharacterSet-copy-Test-M6777-nice.1.cs [^] (921 bytes) 11-19-07 23:30
 CharacterSet-copy-Patch-M6777-nice.1.cs [^] (630 bytes) 11-19-07 23:32

- Relationships

- Notes
(0011568 - 184 - 238 - 238 - 238 - 238 - 238)
Keith_Hodges
12-17-07 17:32

"fix begin"
Installer mantis bug: 6777 fix:'CharacterSet-copy-Patch-M6777-nice.1.cs'.
"fix test".
Installer mantis bug: 6777 fix:'CharacterSet-copy-Test-M6777-nice.1.cs'.
"fix end"
 
(0012336 - 14 - 14 - 14 - 14 - 14 - 14)
noha
07-04-08 06:24

in pharo 10049
 
(0013267 - 64 - 64 - 224 - 224 - 224 - 224)
nicolas cellier
08-24-09 20:06

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

- Issue History
Date Modified Username Field Change
11-19-07 23:23 nicolas cellier New Issue
11-19-07 23:30 nicolas cellier File Added: CharacterSet-copy-Test-M6777-nice.1.cs
11-19-07 23:32 nicolas cellier File Added: CharacterSet-copy-Patch-M6777-nice.1.cs
12-17-07 17:32 Keith_Hodges Note Added: 0011568
07-04-08 06:24 noha Note Added: 0012336
12-17-08 04:31 Keith_Hodges Status new => acknowledged
01-10-09 02:00 Keith_Hodges Status acknowledged => pending
01-10-09 02:27 Keith_Hodges Status pending => testing
01-10-09 03:39 Keith_Hodges Status testing => resolved
01-10-09 03:39 Keith_Hodges Fixed in Version  => 3.11
01-10-09 03:39 Keith_Hodges Resolution open => fixed
01-10-09 03:39 Keith_Hodges Assigned To  => Keith_Hodges
01-10-09 03:41 Keith_Hodges Status resolved => testing
08-24-09 20:06 nicolas cellier Note Added: 0013267
10-03-09 19:33 Keith_Hodges Status testing => assigned
10-03-09 19:33 Keith_Hodges Assigned To Keith_Hodges => andreas
10-03-09 20:03 nicolas cellier Status assigned => resolved
10-03-09 20:03 nicolas cellier Fixed in Version 3.11 => trunk
04-18-10 22:05 andreas Status resolved => closed


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