[JBoss JIRA] (TEIIDDES-3057) Model designer including collapse option on view to show/hides attributes/fields
by Cojan van Ballegooijen (JIRA)
Cojan van Ballegooijen created TEIIDDES-3057:
------------------------------------------------
Summary: Model designer including collapse option on view to show/hides attributes/fields
Key: TEIIDDES-3057
URL: https://issues.jboss.org/browse/TEIIDDES-3057
Project: Teiid Designer
Issue Type: Enhancement
Environment: JBDS 10.3
JBDSIS 10.0.2
Reporter: Cojan van Ballegooijen
Priority: Minor
If a schema contains a lot of views it would be nice to show/hide the columns from the diagram.
Suggestion is to add a +/- button in the upper right corner of the view.
Would be nice to have an option to expand/collapse all the view models in the schema
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3056) UnsupportedOperationException clicking a source model function category in Function Builder
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3056?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3056:
-----------------------------------
Fix Version/s: 11.0.2
> UnsupportedOperationException clicking a source model function category in Function Builder
> -------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3056
> URL: https://issues.jboss.org/browse/TEIIDDES-3056
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Barry LaFond
> Assignee: Barry LaFond
> Fix For: 11.0.2
>
>
> looks like the FunctionTree.getFunctionsInCategory() is returning a Collections.emptySet() which FunctionLibrary.getFunctionForms() tries to do an *addAll()*
> {code}
> !ENTRY org.eclipse.ui 4 0 2017-03-07 13:27:01.647
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.UnsupportedOperationException
> at java.util.AbstractCollection.add(AbstractCollection.java:262)
> at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
> at org.teiid.query.function.FunctionLibrary.getFunctionForms(FunctionLibrary.java:150)
> at org.teiid.query.ui.builder.model.FunctionEditorModel.setCategory(FunctionEditorModel.java:267)
> at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor.handleCategorySelected(FunctionEditor.java:261)
> at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor$1.widgetSelected(FunctionEditor.java:130)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanel.showExpressionBuilder(SqlEditorPanel.java:1205)
> at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanelWrapper.showExpressionBuilder(SqlEditorPanelWrapper.java:123)
> at org.teiid.designer.transformation.ui.editors.sqleditor.actions.LaunchExpressionBuilder.doRun(LaunchExpressionBuilder.java:50)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3056) UnsupportedOperationException clicking a source model function category in Function Builder
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3056?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-3056:
----------------------------------------
adding a simple re-set to the fMethods will allow addAll() to be called:
if( fMethods.isEmpty() ) {
fMethods = new HashSet<FunctionMethod>();
}
> UnsupportedOperationException clicking a source model function category in Function Builder
> -------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3056
> URL: https://issues.jboss.org/browse/TEIIDDES-3056
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Barry LaFond
> Assignee: Barry LaFond
>
> looks like the FunctionTree.getFunctionsInCategory() is returning a Collections.emptySet() which FunctionLibrary.getFunctionForms() tries to do an *addAll()*
> {code}
> !ENTRY org.eclipse.ui 4 0 2017-03-07 13:27:01.647
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.UnsupportedOperationException
> at java.util.AbstractCollection.add(AbstractCollection.java:262)
> at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
> at org.teiid.query.function.FunctionLibrary.getFunctionForms(FunctionLibrary.java:150)
> at org.teiid.query.ui.builder.model.FunctionEditorModel.setCategory(FunctionEditorModel.java:267)
> at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor.handleCategorySelected(FunctionEditor.java:261)
> at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor$1.widgetSelected(FunctionEditor.java:130)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanel.showExpressionBuilder(SqlEditorPanel.java:1205)
> at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanelWrapper.showExpressionBuilder(SqlEditorPanelWrapper.java:123)
> at org.teiid.designer.transformation.ui.editors.sqleditor.actions.LaunchExpressionBuilder.doRun(LaunchExpressionBuilder.java:50)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3056) UnsupportedOperationException clicking a source model function category in Function Builder
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-3056:
--------------------------------------
Summary: UnsupportedOperationException clicking a source model function category in Function Builder
Key: TEIIDDES-3056
URL: https://issues.jboss.org/browse/TEIIDDES-3056
Project: Teiid Designer
Issue Type: Bug
Reporter: Barry LaFond
looks like the FunctionTree.getFunctionsInCategory() is returning a Collections.emptySet() which FunctionLibrary.getFunctionForms() tries to do an *addAll()*
{code}
!ENTRY org.eclipse.ui 4 0 2017-03-07 13:27:01.647
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(AbstractCollection.java:262)
at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
at org.teiid.query.function.FunctionLibrary.getFunctionForms(FunctionLibrary.java:150)
at org.teiid.query.ui.builder.model.FunctionEditorModel.setCategory(FunctionEditorModel.java:267)
at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor.handleCategorySelected(FunctionEditor.java:261)
at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor$1.widgetSelected(FunctionEditor.java:130)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanel.showExpressionBuilder(SqlEditorPanel.java:1205)
at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanelWrapper.showExpressionBuilder(SqlEditorPanelWrapper.java:123)
at org.teiid.designer.transformation.ui.editors.sqleditor.actions.LaunchExpressionBuilder.doRun(LaunchExpressionBuilder.java:50)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3056) UnsupportedOperationException clicking a source model function category in Function Builder
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3056?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-3056:
--------------------------------------
Assignee: Barry LaFond
> UnsupportedOperationException clicking a source model function category in Function Builder
> -------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3056
> URL: https://issues.jboss.org/browse/TEIIDDES-3056
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Barry LaFond
> Assignee: Barry LaFond
>
> looks like the FunctionTree.getFunctionsInCategory() is returning a Collections.emptySet() which FunctionLibrary.getFunctionForms() tries to do an *addAll()*
> {code}
> !ENTRY org.eclipse.ui 4 0 2017-03-07 13:27:01.647
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.UnsupportedOperationException
> at java.util.AbstractCollection.add(AbstractCollection.java:262)
> at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
> at org.teiid.query.function.FunctionLibrary.getFunctionForms(FunctionLibrary.java:150)
> at org.teiid.query.ui.builder.model.FunctionEditorModel.setCategory(FunctionEditorModel.java:267)
> at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor.handleCategorySelected(FunctionEditor.java:261)
> at org.teiid.designer.transformation.ui.builder.expression.FunctionEditor$1.widgetSelected(FunctionEditor.java:130)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanel.showExpressionBuilder(SqlEditorPanel.java:1205)
> at org.teiid.designer.transformation.ui.editors.sqleditor.SqlEditorPanelWrapper.showExpressionBuilder(SqlEditorPanelWrapper.java:123)
> at org.teiid.designer.transformation.ui.editors.sqleditor.actions.LaunchExpressionBuilder.doRun(LaunchExpressionBuilder.java:50)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3055) non-integer VDB version missing validation warning
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-3055:
--------------------------------------
Summary: non-integer VDB version missing validation warning
Key: TEIIDDES-3055
URL: https://issues.jboss.org/browse/TEIIDDES-3055
Project: Teiid Designer
Issue Type: Bug
Components: Validation, VDB & Execution
Affects Versions: 11.0.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 11.0.2
The VDB validation logic is missing the logic to catch a number format exception when validating the VDB version string. Need to wrap the logic in a try/catch block in VdbUtil.validateVdbModelsInWorkspace()
Here's an example of a message: *The PartsSupplier VDB's version number 1.0.1 is not an integer and will not deploy to a Teiid runtime version less than 9.0. Your current default Teiid server version is: 8.12.5*
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-2996) Wrong RETURN direction in model after generating it from dynamic vdb
by Mario Majernik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2996?page=com.atlassian.jira.plu... ]
Mario Majernik closed TEIIDDES-2996.
------------------------------------
> Wrong RETURN direction in model after generating it from dynamic vdb
> --------------------------------------------------------------------
>
> Key: TEIIDDES-2996
> URL: https://issues.jboss.org/browse/TEIIDDES-2996
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs, Import/Export
> Affects Versions: 10.0.2
> Reporter: Mario Majernik
> Assignee: Barry LaFond
> Labels: release_notes
> Attachments: ssvdb-vdb.xml
>
>
> I had procedure parameter with direction RETURN(third parameter in vdb) and after generate model from dynamic vdb direction is OUT instead RETURN.
> In dynamic vdb is mark for RETURN direction(RESULT) but it is propably wrong readed
> {code:java}
> CREATE FOREIGN PROCEDURE ff (IN newParameter_1 string(4000), INOUT newParameter_2 string(4000), OUT newParameter_3 string(4000) RESULT, OUT newParameter_4 string(4000))
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-2985) Missing Procedure settings in dynamic VDB
by Mario Majernik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2985?page=com.atlassian.jira.plu... ]
Mario Majernik commented on TEIIDDES-2985:
------------------------------------------
Everything is OK except Update Count. There is not still mention about it in dynamicVDB/ddl and default values are "ONE" for procedure and "AUTO" for function.
> Missing Procedure settings in dynamic VDB
> -----------------------------------------
>
> Key: TEIIDDES-2985
> URL: https://issues.jboss.org/browse/TEIIDDES-2985
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs, Import/Export
> Affects Versions: 10.0.2
> Reporter: Mario Majernik
> Attachments: DynamicVDBtesting.zip
>
>
> Some setting in source model miss after generate source model from dynamic vdb:
> * Value of Function is false for "Function"(should be true)
> * Value of Update Count is always AUTO(should be ONE for procedure)
> * Name is Source for parameters missing
> * Value of Name was newParameter_2 for second parameter in Procedure. After generating from dynamic vdb name is result. I think that is caused direction for this parameter which was set on RETURN.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months