[
https://jira.jboss.org/browse/TEIIDDES-446?page=com.atlassian.jira.plugin...
]
John Doyle commented on TEIIDDES-446:
-------------------------------------
I fixed this with the dumbest possible solution. The JdbcManagerImpl now listens for
changes to ConnectionProfiles. In the event of a change it dumps its list and rebuilds
the list from scratch. I don't think this will be a performance issue, but if it
proves to be I will have to fix it with a more granular approach.
Connection Profile MRU for JDBC Import is not updated when Connection
Profile Name is changed in DTP perspective. Results in exception.
---------------------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-446
URL:
https://jira.jboss.org/browse/TEIIDDES-446
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 7.0
Reporter: Barry LaFond
Assignee: John Doyle
Priority: Critical
Fix For: 7.0
Playing with new DTP driven JDBC Importer.
1) Launched JDBC Import wizard and created SQL Server connection profile to books and
took default name "New SQL Server"
2) Model New_SQL_Server was created.
3) Opend DTP perspective and performed a "Rename" action to changed "New
SQL Server" to "BooksSQL"
4) launched JDBC Import again and the MRU list did not reflect the new name.
5) Selecting "Next" button resulted in exception:
!ENTRY org.teiid.designer.jdbc.ui 4 0 2010-05-24 10:30:42.332
!MESSAGE ConnectionProfile New SQL Server cannot be found
!STACK 1
Modeler Core Exception: Status ERROR: org.teiid.core.designer code=0 ConnectionProfile
New SQL Server cannot be found null
at
com.metamatrix.modeler.internal.jdbc.JdbcManagerImpl.createConnection(JdbcManagerImpl.java:290)
at
com.metamatrix.modeler.internal.jdbc.JdbcManagerImpl.createConnection(JdbcManagerImpl.java:282)
at com.metamatrix.modeler.internal.jdbc.ui.util.JdbcUiUtil$1.run(JdbcUiUtil.java:84)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 org.teiid.core.designer 4 0 2010-05-24 10:30:42.334
!MESSAGE ConnectionProfile New SQL Server cannot be found
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira