View Issue Details

IDProjectCategoryView StatusLast Update
0005091JEDI VCL00 JVCL Componentspublic2010-01-13 17:03
ReportervacAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.39 
Target VersionFixed in Version 
Summary0005091: TjvAppStorage support for multi form instances
DescriptionAppStorage doesn't seem to work proper with multiple instances of same form.
I have checked it on MDI child, and normal forms created dynamically (BDS 2006).
The first window working fine - it takes proper stored value from file.
If I open second and next forms they are having default (not the stored one) values. On closing each form, saving

values seems to work fine so the problem is just in reading values.

I can reproduce this problem with:
-TjvAppIniFileStorage,
-TjvAppXMLStorage,
-TjvAppRegistryStorage.
(each combined with TjvFormStorage)

I have attached minimal example.
Additional InformationAfter doing some research I found few things which may help resolve the problem:

1.With multiple instances of application its working fine.

2.
-open first window (good value)
-open second window (bad value - default)
-change value in second window and close it (second window)
-open third window (good value from second window, first window is still open..)

Thanks in advance for any support/workaround
TagsNo tags attached.

Activities

2010-01-06 00:31

 

jedi_store_demo.zip (3,646 bytes)

vac

2010-01-07 11:48

reporter   ~0017083

I found a solution.
So it is not jedi components fault - they are working fine (please FIX my issue).
The problem was in settings of TJvFormStorage:
default AppStoragePath is set to: %FORM_NAME%
but when i create few same forms they had different names (form2, form2_1, form2_2 etc).
When i fill AppStoragePath manually everything started to working fine and i'm happy;>

obones

2010-01-13 17:03

administrator   ~0017113

Thanks for letting us know that all is fine now

Issue History

Date Modified Username Field Change
2010-01-06 00:31 vac New Issue
2010-01-06 00:31 vac File Added: jedi_store_demo.zip
2010-01-07 11:48 vac Note Added: 0017083
2010-01-13 17:03 obones Note Added: 0017113
2010-01-13 17:03 obones Status new => resolved
2010-01-13 17:03 obones Resolution open => no change required
2010-01-13 17:03 obones Assigned To => obones