[
https://issues.jboss.org/browse/TEIIDDES-2417?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2417:
----------------------------------------
Fix patch below:
==========================
{code}
diff --git
a/plugins/org.teiid.designer.modelgenerator.wsdl.ui/src/org/teiid/designer/modelgenerator/wsdl/ui/wizards/soap/WsdlDefinitionPage.java
b/plugins/org.teiid.designer.modelgenerator.wsdl.ui/src/org/teiid/designer/modelgenerator/wsdl/ui/wizards/soap/WsdlDefinitionPage.java
index 5a777d1..fc3eedc 100644
---
a/plugins/org.teiid.designer.modelgenerator.wsdl.ui/src/org/teiid/designer/modelgenerator/wsdl/ui/wizards/soap/WsdlDefinitionPage.java
+++
b/plugins/org.teiid.designer.modelgenerator.wsdl.ui/src/org/teiid/designer/modelgenerator/wsdl/ui/wizards/soap/WsdlDefinitionPage.java
@@ -246,7 +246,7 @@
@Override
public void widgetSelected(SelectionEvent e) {
// Need to sync the worker with the current profile
- handleConnectionProfileSelected();
+ handleConnectionProfileSelected(false);
}
@Override
@@ -324,9 +324,14 @@
GridDataFactory.fillDefaults().grab(true, false).applyTo(endPointURIText);
updateWidgetEnablements();
+ if( connectionProfilesCombo.getItemCount() > 0 ) {
+ connectionProfilesCombo.select(0);
+ handleConnectionProfileSelected(true);
+ }
+
}
- private void handleConnectionProfileSelected() {
+ private void handleConnectionProfileSelected(boolean initializing) {
int selIndex = connectionProfilesCombo.getSelectionIndex();
if (selIndex >= 0) {
@@ -353,11 +358,15 @@
this.wsdlStatus = null;
}
- this.operationsPanel.notifyWsdlChanged(true);
+ if( !initializing ) {
+ this.operationsPanel.notifyWsdlChanged(true);
+ }
}
}
- notifyChanged();
+ if( !initializing ) {
+ notifyChanged();
+ }
}
private void createWsdlOperationsPanel(Composite theParent) {
@@ -727,7 +736,7 @@
refreshUiFromManager();
if( profileChanged ) {
- handleConnectionProfileSelected();
+ handleConnectionProfileSelected(false);
}
setPageStatus();
{code}
==========================
Import from SOAP Web Service - preselected profile can not be edited
--------------------------------------------------------------------
Key: TEIIDDES-2417
URL:
https://issues.jboss.org/browse/TEIIDDES-2417
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 9.0.1
Environment: Windows 7
Reporter: Matus Makovy
Assignee: Barry LaFond
Fix For: 8.6.1, 9.0.1, 9.1
Attachments: screen.png
When I click Edit on preselected connection profile nothing happens.
In order to reproduce this you have to have some SOAP connection profile defined.
1. Click New -> Import -> Web Service Source >> Source and View model(SOAP)
2. Leave preselected connection profile and click on Edit in the Connection Profile
section >>> Nothing happens (screenshot)
TD 9.0.1.Beta2
Windows 7
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)