View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004768 | JEDI VCL | public | 2009-05-05 19:10 | 2009-07-09 14:15 | |
Reporter | jose matos | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | unable to reproduce |
Status | resolved | Resolution | no change required | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0004768: JCsvDataSet in Delphi 2009, jvcl 3.36, error... | ||||
Description | in delphi 2009, jvcl 3.36, JCsvDataSet, active = true, error: "Too many fileds, or too many long string fields in this record. You must increase the internal record size of CsvDataSet" | ||||
Tags | No tags attached. | ||||
|
Please use the latest SVN Version, I believe this issue has been fixed. |
|
Obones, sorry, i used the newer version, jcl 1.105.03365 and jvcl3-2009-18, and i have the same error message in Delphi 2009, that i described in 2009/05/05, and the "error details" is: "[4B214319]{JvDBD12R.bpl} JvCsvData.TJvCustomCsvDataSet.InternalInitFieldDefs + $3C9 [4B215251]{JvDBD12R.bpl} JvCsvData.TJvCustomCsvDataSet.InternalOpen + $DD [5000CD98]{rtl120.bpl } System.UnicodeToUtf8 (Line 21710, "System.pas" + 5) + $12 [504941B9]{dbrtl120.bpl} DB.TDataSet.DoInternalOpen (Line 10599, "DB.pas" + 2) + $4 [50494272]{dbrtl120.bpl} DB.TDataSet.OpenCursor (Line 10628, "DB.pas" + 4) + $2 [5049412D]{dbrtl120.bpl} DB.TDataSet.SetActive (Line 10581, "DB.pas" + 12) + $7 [4B21073D]{JvDBD12R.bpl} JvCsvData.TJvCustomCsvDataSet.SetActive + $5 [5003F57A]{rtl120.bpl } TypInfo.SetOrdProp (Line 1502, "TypInfo.pas" + 27) + $0 [20B9ACF2]{designide120.bpl} DesignEditors.TPropertyEditor.SetOrdValue (Line 838, "DesignEditors.pas" + 2) + $E [20B9BDFB]{designide120.bpl} DesignEditors.TEnumProperty.SetValue (Line 1398, "DesignEditors.pas" + 5) + $4 [20C87A97]{vclide120.bpl} IDEInspListBox.TInspListBox.SetPropValue (Line 1138, "IDEInspListBox.pas" + 38) + $19 [20C8907C]{vclide120.bpl} IDEInspListBox.TInspListBox.ListAccept (Line 1648, "IDEInspListBox.pas" + 6) + $7 [20C7E946]{vclide120.bpl} IDEListBtns.TListButton.CloseUp (Line 760, "IDEListBtns.pas" + 14) + $12 [20C7D5A8]{vclide120.bpl} IDEListBtns.TPopupListBox.WMLButtonUp (Line 176, "IDEListBtns.pas" + 2) + $2D [501D0C0E]{vcl120.bpl } Controls.TControl.WndProc (Line 6642, "Controls.pas" + 91) + $6 [50058938]{rtl120.bpl } Classes.StdWndProc (Line 12723, "Classes.pas" + 8) + $0 [501D4BA7]{vcl120.bpl } Controls.TWinControl.IsControlMouseMsg (Line 9121, "Controls.pas" + 1) + $9 [501D529B]{vcl120.bpl } Controls.TWinControl.WndProc (Line 9336, "Controls.pas" + 136) + $6 [50144C30]{vcl120.bpl } StdCtrls.TCustomListBox.WndProc (Line 6008, "StdCtrls.pas" + 34) + $4 [501D49B4]{vcl120.bpl } Controls.TWinControl.MainWndProc (Line 9065, "Controls.pas" + 3) + $6 [50058938]{rtl120.bpl } Classes.StdWndProc (Line 12723, "Classes.pas" + 8) + $0 [501F9EC7]{vcl120.bpl } Forms.TApplication.ProcessMessage (Line 9613, "Forms.pas" + 23) + $1 [501F9F0A]{vcl120.bpl } Forms.TApplication.HandleMessage (Line 9643, "Forms.pas" + 1) + $4 [501FA235]{vcl120.bpl } Forms.TApplication.Run (Line 9780, "Forms.pas" + 26) + $3 [004259D2]{bds.exe } bds.bds (Line 196, "" + 7) + $7 " jose matos Mantis Bug Tracker escreveu: > The following issue requires your FEEDBACK. ====================================================================== http://issuetracker.delphi-jedi.org/view.php?id=4768 ====================================================================== Reported By: jose matos > Assigned To: ====================================================================== Project: JEDI VCL > Issue ID: 4768 > Category: Reproducibility: unable to reproduce > Severity: minor > Priority: normal > Status: feedback > ====================================================================== Date Submitted: 2009-05-05 19:10 CEST > Last Modified: 2009-05-18 08:50 CEST > ====================================================================== Summary: JCsvDataSet in Delphi 2009, jvcl 3.36, error... > Description: in delphi 2009, jvcl 3.36, JCsvDataSet, active = true, error: > "Too many fileds, or too many long string fields in this record. You must > increase the internal record size of CsvDataSet" > ====================================================================== > ---------------------------------------------------------------------- (0015524) obones (administrator) - 2009-05-18 08:50 > http://issuetracker.delphi-jedi.org/view.php?id=4768#c15524 ---------------------------------------------------------------------- Please use the latest SVN Version, I believe this issue has been fixed. > Issue History Date Modified Username Field Change ====================================================================== 2009-05-05 19:10 jose matos New Issue 2009-05-15 12:09 outchy Project Homepage => JEDI VCL > 2009-05-18 08:50 obones Note Added: 0015524 2009-05-18 08:50 obones Status new => feedback ====================================================================== > > |
|
In Delphi 2009, Jvcl 3.36: JCsvDataSet (with 80 fields), when active = true => error: "Too many fields, or too many long string field in the record. You must increase the internal record size of the CsvDataSet". The same JvCsvDataSet (with 80 fields), in Delphi7, Jvcl 3.34, when active = true, and no error.... |
|
Very strange. Please provide the zipped sources of a sample application showing this |
2009-07-05 11:35
|
JvCsvDataSetError.rar (53,125 bytes) |
|
i sent the complete example. compile D7 with 3.34 no error, but 3.36 ??????????? sorry |
|
Well, actually, looking at your example, it makes perfect sense that you get this error. You have 71 untyped fields which default to the "string(80)" type. For security reasons the internal buffer size of TJvCsvDataset is verified since version 3.36 In your example, you do not change the default value of 2048. Hence, two integer fields that take 5 bytes each, plus 71 fields of 80 characters, this makes WAY MORE than 2048 bytes. Either specify the length of your fields to stay under the default limit or set the value of TextBufferSize to a bigger value before setting active to True. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-05-05 19:10 | jose matos | New Issue | |
2009-05-15 12:09 | outchy | Project | Homepages => JEDI VCL |
2009-05-18 08:50 | obones | Note Added: 0015524 | |
2009-05-18 08:50 | obones | Status | new => feedback |
2009-05-18 15:14 | jose matos | Note Added: 0015525 | |
2009-06-01 22:27 | jose matos | Note Added: 0015595 | |
2009-07-03 17:02 | obones | Note Added: 0015756 | |
2009-07-05 11:35 | jose matos | File Added: JvCsvDataSetError.rar | |
2009-07-05 11:39 | jose matos | Note Added: 0015764 | |
2009-07-08 14:11 | obones | Status | feedback => acknowledged |
2009-07-09 14:15 | obones | Note Added: 0015806 | |
2009-07-09 14:15 | obones | Status | acknowledged => resolved |
2009-07-09 14:15 | obones | Resolution | open => no change required |
2009-07-09 14:15 | obones | Assigned To | => obones |