View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004353 | JEDI VCL | 00 JVCL Components | public | 2008-03-05 02:52 | 2008-03-05 03:26 |
Reporter | Salvatore Besso | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0004353: TJvAppIniStorage doesn't store | ||||
Description | The stored values are really not stored in the .ini file at program exit; instead the default values are always kept in the file. Please, see the attached test case. Moreover, I have discovered that the "Formversion" problem is back again (it was fixed at some point past year). For this problem please see old Mantis 4037. | ||||
Tags | No tags attached. | ||||
2008-03-05 02:52
|
Test case.zip (8,066 bytes) |
|
I'm sorry, but this is not a bug. You defined StoredValues but did not assign any "OnSave" and "OnRestore" handler for them. Then you write strings manually in TForm1.SaveSettings but you still call POP3Store.StoredValues.SaveValues That means that whatever string your wrote manually is overridden by the call to SaveValues which never gets any updated value. Either write manually or use stored values but do not use both. As to the FormVersion problem, please elaborate a bit more in another issue, with a sample showing the full extent of the bug. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-03-05 02:52 | Salvatore Besso | New Issue | |
2008-03-05 02:52 | Salvatore Besso | File Added: Test case.zip | |
2008-03-05 03:26 | obones | Status | new => resolved |
2008-03-05 03:26 | obones | Resolution | open => no change required |
2008-03-05 03:26 | obones | Assigned To | => obones |
2008-03-05 03:26 | obones | Note Added: 0014278 |