Bug 781102 (SOA-3594) - Designer Usability: In JDBS, refactor (rename) the vdb does not change the name of the vdb that you will connect to
Summary: Designer Usability: In JDBS, refactor (rename) the vdb does not change the ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3594
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.2.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.3.0 GA
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-15 22:42 UTC by Van Halbert
Modified: 2011-11-29 18:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-22 16:57:53 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3594 0 None None None Never

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



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