View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004629||JEDI VCL||00 JVCL Components||public||2008-12-19 02:43||2008-12-22 06:17|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version||3.36|
|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.|
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
JVCL_issue_4629.zip (2,595 bytes)
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|