Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003003 [JEDI VCL] 00 JVCL Components minor always 2005-05-29 10:57 2005-08-09 06:35
Reporter hrobache View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.00
Summary 0003003: Bug in TJvListView.LoadFromCSV
Description This 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 Information It 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 !
Tags No tags attached.
Attached Files ? file icon JvListView.pas [^] (40,940 bytes) 2005-05-29 10:57

- Relationships

-  Notes
(0007711)
obones (administrator)
2005-08-09 06:35

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker