View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004669 | JEDI VCL | 00 JVCL Components | public | 2009-01-23 07:05 | 2009-07-08 15:40 |
Reporter | Mistral | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.35 | ||||
Target Version | Fixed in Version | 3.38 | |||
Summary | 0004669: [TJvDBMaskEdit] 3.36 when modify a date or datetime DB field you get an EConvertError | ||||
Description | On JVCL 3.33 all works fine. On 3.36 a modify on the method : procedure TJvDBMaskEdit.UpdateData(Sender: TObject); in the unit JvDBControls systematically raises an exception EConvertError ('xxxx' is not a valid date) when modifying a DB field date or datetime kind. | ||||
Additional Information | To solve this issue for the moment I modify the procedure like that : procedure TJvDBMaskEdit.UpdateData(Sender: TObject); //var // OrgMask: string; begin ValidateEdit; // if IsMasked then // begin // OrgMask := EditMask; // try // EditMask := ''; // if Text = '' then // begin // FDataLink.Field.Clear; // Exit; // end; // finally // EditMask := OrgMask; // end; // end; FDataLink.Field.Text := Text; end; | ||||
Tags | No tags attached. | ||||
|
Please provide the zipped sources of a sample application showing this. |
2009-04-30 14:51
|
TestProject.zip (13,020 bytes) |
|
I've attached a TestProject.zip. There is a sample project with a sample Ms Access DB. Run the program, click on connect and try to modify the date field : I get an EConvertError. I'm testing it with the original 3.36 JVCL on D2007 or D2009. |
|
This is now fixed in SVN |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-23 07:05 | Mistral | New Issue | |
2009-02-02 01:25 | obones | Status | new => acknowledged |
2009-04-29 11:45 | obones | Note Added: 0015451 | |
2009-04-29 11:45 | obones | Status | acknowledged => feedback |
2009-04-30 14:51 | Mistral | File Added: TestProject.zip | |
2009-04-30 14:56 | Mistral | Note Added: 0015504 | |
2009-07-06 14:10 | obones | Status | feedback => acknowledged |
2009-07-08 15:40 | obones | Note Added: 0015787 | |
2009-07-08 15:40 | obones | Status | acknowledged => resolved |
2009-07-08 15:40 | obones | Fixed in Version | => Daily / SVN |
2009-07-08 15:40 | obones | Resolution | open => fixed |
2009-07-08 15:40 | obones | Assigned To | => obones |