Bug 1028951 - No artifacts are displayed in SRAMP after name change of the the local cache
Summary: No artifacts are displayed in SRAMP after name change of the the local cache
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: DT Governance
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Brett Meyer
QA Contact: Jiri Sedlacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-11 10:23 UTC by Stefan Bunciak
Modified: 2015-09-01 04:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-29 17:38:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stefan Bunciak 2013-11-11 10:23:52 UTC
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:

Comment 1 Anne-Louise Tangring 2013-11-11 20:10:52 UTC
We do not support changing the name of the local cache. We should consider doing a knowledgebase article.

Comment 2 Brett Meyer 2014-07-29 17:38:41 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.