Bug 781102 (SOA-3594)

Summary: Designer Usability: In JDBS, refactor (rename) the vdb does not change the name of the vdb that you will connect to
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Van Halbert <vhalbert>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0 GACC: vhalbert
Target Milestone: ---   
Target Release: 5.3.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3594
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-22 16:57:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Van Halbert 2011-11-15 22:42:07 UTC
Steps to Reproduce: 1.  create a vdb (say VDB1)
2.  right mouse click on vdb, select "Refactor==>Rename"
3.  enter the new name of the vdb (say VDB2)
4.  deploy the vdb
5.  try to connect to vdb "VDB2" and it doesn't exist, because the server thinks the name is still VDB1.   

Workaround Description: The current vdb needs to be deleted and then create a new vdb with the new name.
project_key: SOA

To duplicate the problem:

1.  create a vdb (say VDB1)
2.  right mouse click on vdb, select "Refactor==>Rename"
3.  enter the new name of the vdb (say VDB2)
4.  deploy the vdb
5.  try to connect to vdb "VDB2" and it doesn't exist, because the server thinks the name is still VDB1.   

This is because the internal vdb.xml file was not updated on the rename action.

Resolution:   delete vdb and recreate a new one.

Comment 1 Van Halbert 2011-11-16 15:18:40 UTC
It was commented that this was not a bug, but how it behaves.   If so, maybe the "refactor/rename" option can be disabled on the vdb.  Because otherwise, this option is useless.

Comment 2 Van Halbert 2011-11-17 20:18:18 UTC
Link: Added: This issue depends TEIIDDES-1063