View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003798||JEDI VCL||00 JVCL Components||public||2006-07-06 14:03||2007-01-04 03:19|
|Target Version||Fixed in Version||3.30|
|Summary||0003798: When you load SCV file using JvCsvDataSet1.LoadFromFile() you will get runtime error - "Field "..." found in file but not ..."|
|Description||When you load SCV file using JvCsvDataSet1.LoadFromFile() you will get runtime error - "Field "..." found in file but not in field definition".|
Error happens when you try to open second (!) CSV file with field structure different from first one. Somehow old field definition was carried over to open new file.
You can see the error when you use CsvDataDemo from Examples folder.
When you open first CSV file, all works fine, when you open second CSV file with diff structure you will see an error.
|Additional Information||I was able to fix the issue adding following code:|
After line # 2591 in file JvCsvData.pas.
|Tags||No tags attached.|
||Please provide the zipped sources of a sample application showing this "problem"|
files1.zip (317,544 bytes)
I attached file:
- sample project
- 2 CSV test files
- Word doc with screenshots
File has changed since then, please first test with the latest SVN version from http://jvcl.sf.net/daily/
If the problem is still there, please provide a bit more context around the line you changed so that I can find it in the current sources.
||No news, I'm assuming this is fixed in the latest revision|
|2006-07-06 14:03||alexptp||New Issue|
|2006-07-07 02:26||obones||Note Added: 0009777|
|2006-07-07 02:26||obones||Status||new => feedback|
|2006-07-10 09:37||alexptp||File Added: files1.zip|
|2006-07-10 09:37||alexptp||Note Added: 0009781|
|2006-09-29 07:22||obones||Note Added: 0010246|
|2007-01-04 03:18||obones||Status||feedback => resolved|
|2007-01-04 03:18||obones||Fixed in Version||=> Daily / SVN|
|2007-01-04 03:18||obones||Resolution||open => fixed|
|2007-01-04 03:18||obones||Assigned To||=> obones|
|2007-01-04 03:18||obones||Note Added: 0010513|