View Issue Details

IDProjectCategoryView StatusLast Update
0004353JEDI VCL00 JVCL Componentspublic2008-03-05 03:26
ReporterSalvatore BessoAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004353: TJvAppIniStorage doesn't store
DescriptionThe 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.
TagsNo tags attached.

Activities

2008-03-05 02:52

 

Test case.zip (8,066 bytes)

obones

2008-03-05 03:26

administrator   ~0014278

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.

Issue History

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