Description of problem: * No artifacts are displayed in SRAMP after changing name of the local cache. Version-Release number of selected component (if applicable): * 6.0.0.ER6 (Beta) How reproducible: * 100% Steps to Reproduce: * Change current configuration <cache-container name="modeshape"> <local-cache name="sramp"> <locking isolation="NONE"/> <transaction mode="NON_XA"/> <string-keyed-jdbc-store datasource="java:jboss/datasources/srampDS" passivation="false" purge="false"> <string-keyed-table prefix="ispn_bucket"> <id-column name="id" type="VARCHAR(500)"/> <data-column name="datum" type="VARBINARY(60000)"/> <timestamp-column name="version" type="BIGINT"/> </string-keyed-table> </string-keyed-jdbc-store> </local-cache> </cache-container> <subsystem xmlns="urn:jboss:domain:modeshape:1.0"> <repository name="sramp" cache-name="sramp" cache-container="modeshape" security-domain="overlord-idp" anonymous-roles="readonly"/> </subsystem> to e.g.: <cache-container name="modeshape"> <local-cache name="sramp_test"> ... <subsystem xmlns="urn:jboss:domain:modeshape:1.0"> <repository name="sramp" cache-name="sramp_test" ... Actual results: * No artifacts are displayed in SRAMP ui repository browser Expected results: * Name change of the local cache should not affect the displayed data since since the data store has not been changed (just renamed). Additional info:
We do not support changing the name of the local cache. We should consider doing a knowledgebase article.
The local cache name cannot be changed between runs. ModeShape bases IDs on the hashed cache-store name, so changing it will never show the existing artifacts.