|Anonymous | Login | Signup for a new account||2019-02-15 23:22 CET|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0004629||[JEDI VCL] 00 JVCL Components||minor||have not tried||2008-12-19 02:43||2008-12-22 06:17|
|Summary||0004629: JvAppDBStorage should publish SubStorages property|
|Description||Component JvAppDBStorage does not publish it's SubStorages property. This limits it's usability as it can't be used as a 'root' application storage. There shouldn't be any issues regarding this change since the actual SubStorage work is done by TJvCustomAppStorage superclass.|
|Tags||No tags attached.|
|Attached Files||JVCL_issue_4629.zip [^] (2,595 bytes) 2008-12-19 12:09|
if possible please create a small sample which shows the wrong behaviour.
I've never worked with DBAppstorage so this would make the support work a little bit easier :-)
Greetings and thanks
I have enclosed a small application that uses JvAppIniFileStorage as a 'root' storage, and a JvAppDBStorage as a substorage. The hierarchy is made by adding DBStorage with a RootPath='level2' into IniFileStorage.SubStorages.
The problem is you can't make it the other way round - JvAppDBStorage as a 'root' storage, and a JvAppIniFileStorage as a substorage - simply because the property SubStorages isn't published in JvAppDBStorage class. The property itself is defined as protected property in it's JvCustomAppStorage ancestor class.
I think it is safe to do. It is published in all other JvCustomAppStorage descendants (IniFileStorage, XMLFileStorage, RegistryFileStorage and AppStorage). JvAppStorage class actually does nothing but raise exceptions in all method implementations, but still publishes SubStorages property and works fine as a root container for other storages.
Besides, I changed it here myself and it works fine :) .
|Property is now published in SVN|
|2008-12-19 02:43||Stobrech||New Issue|
|2008-12-19 06:01||jfudickar||Note Added: 0015114|
|2008-12-19 06:01||jfudickar||Status||new => feedback|
|2008-12-19 12:09||Stobrech||File Added: JVCL_issue_4629.zip|
|2008-12-19 12:09||Stobrech||Note Added: 0015116|
|2008-12-22 06:17||obones||Note Added: 0015167|
|2008-12-22 06:17||obones||Status||feedback => resolved|
|2008-12-22 06:17||obones||Fixed in Version||=> Daily / SVN|
|2008-12-22 06:17||obones||Resolution||open => fixed|
|2008-12-22 06:17||obones||Assigned To||=> obones|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|