Anonymous | Login | 12-13-2019 05:47 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006366 | [Squeak] Collections | minor | always | 03-23-07 00:10 | 04-18-10 22:05 | ||||
Reporter | nicolas cellier | View Status | public | ||||||
Assigned To | andreas | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0006366: [BUG] WideString findString:startingAt: and other matchTable problems | ||||||||
Description |
self assert: ((WideString with: 300 asCharacter with: 400 asCharacter) findString: (WideString with: 300 asCharacter) startingAt: 1) = 1. fails with an exception |
||||||||
Additional Information |
Because underlying algorithm use CaseSensitiveOrder matchTable which is single byte based... 1) either outOfBounds error should be handled 2) or a ifAbsent: block argument provided to the matchTable 3) or a more ellaborate class be used (maybe a WideCharacterDictionary like WideCharacterSet patch at http://bugs.squeak.org/view.php?id=3574) [^] This bug is also related to http://bugs.squeak.org/view.php?id=5331 [^] |
||||||||
Attached Files |
![]() ![]() |
||||||||
|
![]() |
||||||||||||||||
SYSTEM WARNING: Creating default object from empty value SYSTEM WARNING: Creating default object from empty value
|
![]() |
|
(0010941 - 61 - 67 - 67 - 67 - 67 - 67) nicolas cellier 07-27-07 22:53 |
A test and patch are provided here. Please, someone check... |
(0011953 - 199 - 265 - 265 - 265 - 265 - 265) nicolas cellier 03-24-08 22:08 edited on: 04-06-08 16:43 |
"fix begin" Installer mantis bug: 6366 fix:'Collection-WideString-findSubstring-Patch.1.cs'. "fix test" Installer mantis bug: 6366 fix:'Collection-WideString-findSubstring-Test.1.cs'. "fix end" |
(0013324 - 65 - 71 - 231 - 231 - 231 - 231) nicolas cellier 10-03-09 19:37 |
Fixed in http://source.squeak.org/trunk/Collections-nice.151.mcz [^] |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
80 total queries executed. 43 unique queries executed. |