View Issue Details

IDProjectCategoryView StatusLast Update
0003003JEDI VCL00 JVCL Componentspublic2005-08-09 06:35
ReporterhrobacheAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.10 
Summary0003003: Bug in TJvListView.LoadFromCSV
DescriptionThis method is not working well. The separator is not properly handled and for instance a string like
  'abc|def|ghi'
is wrongly splitted, provided the separator is '|', in
  '|def|ghi', '|gh' and ''
instead of
  'abc', 'def', 'ghi'
  

Additional InformationIt seems the bug is in the TJvListView.LoadFromStrings method, in lines 0000907 & 0000932 .They both look like
SetString(TmpStr, Start, Start - TmpStart);
 
I replaced them by the following
SetString(TmpStr, TmpStart, Start - TmpStart);
 
And get the experting result (see the attached file)
 
Hope it's gonna help !
TagsNo tags attached.

Activities

2005-05-29 10:57

 

JvListView.pas (40,940 bytes)

obones

2005-08-09 06:35

administrator   ~0007711

Thanks, this is now in CVS.
Sorry for the delay.

Issue History

Date Modified Username Field Change
2005-05-29 10:57 hrobache New Issue
2005-05-29 10:57 hrobache File Added: JvListView.pas
2005-08-09 06:35 obones Status new => resolved
2005-08-09 06:35 obones Resolution open => fixed
2005-08-09 06:35 obones Assigned To => obones
2005-08-09 06:35 obones Note Added: 0007711