View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005091 | JEDI VCL | 00 JVCL Components | public | 2010-01-06 00:31 | 2010-01-13 17:03 |
Reporter | vac | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.39 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005091: TjvAppStorage support for multi form instances | ||||
Description | AppStorage 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 Information | After 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 | ||||
Tags | No tags attached. | ||||
2010-01-06 00:31
|
jedi_store_demo.zip (3,646 bytes) |
|
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;> |
|
Thanks for letting us know that all is fine now |
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 |