Anonymous | Login | 12-06-2019 13:53 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 | ||||||||
0006924 | [Squeak Packages] Seaside | minor | always | 02-14-08 05:51 | 02-14-08 07:17 | ||||||||
Reporter | pmm | View Status | public | ||||||||||
Assigned To | renggli | ||||||||||||
Priority | normal | Resolution | fixed | ||||||||||
Status | resolved | ||||||||||||
Summary | 0006924: WALocale class >> parseCountryString portability issues | ||||||||||||
Description |
in WALocale class >> parseCountryString, rewrite it like this: | string lines | iso2Countries := Dictionary new. string := self countryList. lines := string findTokens: Character cr. lines allButFirst collect: [:each | | parts | parts := each findTokens: $;. parts size >= 2 ifTrue: [iso2Countries at: parts second put: parts first]] ] with two changes: a) Using #findTokens: instead of #subStrings: since that's what is already in SeasidePlatformSupport; b) Testing that the result has two items because in my source the second line of the #countryList is blank. reported by Paolo |
||||||||||||
Additional Information | |||||||||||||
Attached Files | |||||||||||||
|
![]() |
|
(0011779 - 28 - 28 - 28 - 28 - 28 - 28) pmm 02-14-08 05:52 |
fixed in Seaside-Core-pmm.53 |
(0011786 - 19 - 19 - 19 - 19 - 19 - 19) renggli 02-14-08 07:17 |
Seaside-Core-pmm.53 |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
40 total queries executed. 32 unique queries executed. |