View Issue Details

IDProjectCategoryView StatusLast Update
0005108JEDI VCL00 JVCL Componentspublic2011-06-10 16:10
ReporterdcabaleAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.37 
Target VersionFixed in Version3.40 
Summary0005108: TJvCustomCsvDataSet.Locate fails when setting a Filter
Description[TJvCustomCsvDataSet, TJvCsvDataSet]
all is said in the title.
A Filtered record should not be visible.
When a Dataset (or TJvCustomCsvDataSet) is filtered, the records that does not match the filter condition should not be returned with the TJvCustomCsvDataSet.Locate function ... But they are.
Additional Informationto resolve this:

function TJvCustomCsvDataSet.Locate(const KeyFields: string; const KeyValues: Variant;
...
  for RecIndex := 0 to FData.Count - 1 do
  begin
///////////////////////////////////////
/// because don't need to trap filtered records
    if PCsvRow(FData.Items[RecIndex])^.Filtered then
       Continue;
/// end of adding
///////////////////////////////////////
...
TagsNo tags attached.

Activities

obones

2010-01-15 08:55

administrator   ~0017123

Please try using the very latest JVCL, I believe this is already fixed.

dcabale

2010-01-15 11:38

reporter   ~0017125

Hi,
the latest JvCsvData Id (from latest JVCL) is JvCsvData.pas 12533 2009-10-02 08:59:22Z, and it is the same version as the one used by the test (where the bug has been state). Is this a sufficient proof or do I need to reinstall the whole JCL + JVCL latest versions, and make the test with them ?

AHUser

2010-05-16 16:05

developer   ~0017398

Fixed in SVN revision 12776

Issue History

Date Modified Username Field Change
2010-01-14 19:58 dcabale New Issue
2010-01-15 08:55 obones Note Added: 0017123
2010-01-15 08:55 obones Status new => feedback
2010-01-15 11:38 dcabale Note Added: 0017125
2010-05-16 16:05 AHUser Note Added: 0017398
2010-05-16 16:05 AHUser Status feedback => resolved
2010-05-16 16:05 AHUser Fixed in Version => Daily / SVN
2010-05-16 16:05 AHUser Resolution open => fixed
2010-05-16 16:05 AHUser Assigned To => AHUser
2011-06-10 16:10 obones Fixed in Version Daily / SVN => 3.40