[JBoss JIRA] (TEIIDDES-2542) REST connection profile parameters settings problems (adding + deleting)
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2542?page=com.atlassian.jira.plu... ]
Matus Makovy updated TEIIDDES-2542:
-----------------------------------
Description:
There is a couple of issues with adding and deleting parameters.
See attached video.
Issue discovered on MAC OS X.
When adding parameter after changes in Type of previously added parameters the dialogue duplicates previously added parameters.
Afterwards there is problem with deleting parameters.
was:
There is a couple of issues with adding and deleting parameters.
See attached video.
When adding parameter after changes in Type of previously added parameters the dialogue duplicates previously added parameters.
Afterwards there is problem with deleting parameters.
Environment: MAC OS X
> REST connection profile parameters settings problems (adding + deleting)
> ------------------------------------------------------------------------
>
> Key: TEIIDDES-2542
> URL: https://issues.jboss.org/browse/TEIIDDES-2542
> Project: Teiid Designer
> Issue Type: Bug
> Components: Web Services Support
> Affects Versions: 9.0.2
> Environment: MAC OS X
> Reporter: Matus Makovy
> Priority: Critical
> Attachments: paramters.mov
>
>
> There is a couple of issues with adding and deleting parameters.
> See attached video.
> Issue discovered on MAC OS X.
> When adding parameter after changes in Type of previously added parameters the dialogue duplicates previously added parameters.
> Afterwards there is problem with deleting parameters.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 4 months
[JBoss JIRA] (TEIIDDES-2542) REST connection profile parameters settings problems (adding + deleting)
by Matus Makovy (JIRA)
Matus Makovy created TEIIDDES-2542:
--------------------------------------
Summary: REST connection profile parameters settings problems (adding + deleting)
Key: TEIIDDES-2542
URL: https://issues.jboss.org/browse/TEIIDDES-2542
Project: Teiid Designer
Issue Type: Bug
Components: Web Services Support
Affects Versions: 9.0.2
Reporter: Matus Makovy
Priority: Critical
There is a couple of issues with adding and deleting parameters.
See attached video.
When adding parameter after changes in Type of previously added parameters the dialogue duplicates previously added parameters.
Afterwards there is problem with deleting parameters.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 4 months
[JBoss JIRA] (TEIIDDES-2541) Issues with Rest connection profile security settings
by Matus Makovy (JIRA)
Matus Makovy created TEIIDDES-2541:
--------------------------------------
Summary: Issues with Rest connection profile security settings
Key: TEIIDDES-2541
URL: https://issues.jboss.org/browse/TEIIDDES-2541
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 9.0.2
Reporter: Matus Makovy
When creating REST connection profile there is couple of issues with security settings:
1.) When user changes security settings to HTTP basic and doesn't enter any credentials Wizard shows error, but user is able to finish the creation without problems
2.) When user changes security settings to HTTP basic and then they want to change it back to 'none', wizard complains that there is no username entered and won't let you finish the creation of the connection profile.
See video in comments (too big for JIRA)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 4 months
[JBoss JIRA] (TEIIDDES-2477) Nullpointer in WSConnectionInfoProvider.java when user is null
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2477?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2477.
----------------------------------
verified TD 9.0.2.Final
> Nullpointer in WSConnectionInfoProvider.java when user is null
> --------------------------------------------------------------
>
> Key: TEIIDDES-2477
> URL: https://issues.jboss.org/browse/TEIIDDES-2477
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6, 9.0
> Environment: Windows 7, JBoss Developer Studio 8.1.0, Teiid Designer 9.0.1.Final
> Reporter: Daan Creemers
> Assignee: Ted Jones
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
>
> In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
> @line 101:
> if (null != user &! user.equals("")) { //$NON-NLS-1$
> connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
> }
> It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
> Line 101 contains ampersand exclamation mark without a space in between such that short-circuit is not working. ( if (null != user &! user.equals("")) { )
> This should be ( if (null != user && !user.equals("")) { )
> After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
> java.lang.NullPointerException
> at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 4 months
[JBoss JIRA] (TEIIDDES-2540) Cannot create Data Source on the server
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2540?page=com.atlassian.jira.plu... ]
Andrej Šmigala commented on TEIIDDES-2540:
------------------------------------------
Opened pull request here: https://github.com/Teiid-Designer/teiid-designer/pull/455
> Cannot create Data Source on the server
> ---------------------------------------
>
> Key: TEIIDDES-2540
> URL: https://issues.jboss.org/browse/TEIIDDES-2540
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2 Beta2
> Reporter: Andrej Šmigala
> Assignee: Andrej Šmigala
> Priority: Critical
>
> Right clicking Data Sources under the Teiid Instance in Servers view and selecting Create Data Source fails with an empty error message.
> This is caused by a NPE in the code on lines 125 - 133 here: https://github.com/Teiid-Designer/teiid-designer/blob/f28c49b8dafe2a7351e...
> Stacktrace:
> {noformat}
> java.lang.NullPointerException
> at org.teiid.designer.runtime.ui.connection.CreateDataSourceAction.run(CreateDataSourceAction.java:130)
> at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$7.run(TeiidServerActionProvider.java:359)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 4 months
[JBoss JIRA] (TEIIDDES-2540) Cannot create Data Source on the server
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2540?page=com.atlassian.jira.plu... ]
Andrej Šmigala reassigned TEIIDDES-2540:
----------------------------------------
Assignee: Andrej Šmigala
> Cannot create Data Source on the server
> ---------------------------------------
>
> Key: TEIIDDES-2540
> URL: https://issues.jboss.org/browse/TEIIDDES-2540
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2 Beta2
> Reporter: Andrej Šmigala
> Assignee: Andrej Šmigala
> Priority: Critical
>
> Right clicking Data Sources under the Teiid Instance in Servers view and selecting Create Data Source fails with an empty error message.
> This is caused by a NPE in the code on lines 125 - 133 here: https://github.com/Teiid-Designer/teiid-designer/blob/f28c49b8dafe2a7351e...
> Stacktrace:
> {noformat}
> java.lang.NullPointerException
> at org.teiid.designer.runtime.ui.connection.CreateDataSourceAction.run(CreateDataSourceAction.java:130)
> at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$7.run(TeiidServerActionProvider.java:359)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 4 months