[JBoss JIRA] (TEIIDDES-1949) Unable to create function from the reconciler
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1949?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1949:
----------------------------------------
Maybe put a hack in to check for this use-case (arg.getType() == NULL) and throw up a warning dialog stating: "Attempting to create complex, nested function definition. Please launch function builder from Transformation Editor toolbar"
> Unable to create function from the reconciler
> ----------------------------------------------
>
> Key: TEIIDDES-1949
> URL: https://issues.jboss.org/browse/TEIIDDES-1949
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 8.3
>
>
> Description of problem: Trying to create a function to concatenate last and first names, but nothing would return from dialog after pressing OK. Looking in the log, NPE was found:
> java.lang.NullPointerException
> at org.teiid.query.function.FunctionTree.getFunction(FunctionTree.java:386)
> at org.teiid.query.function.FunctionLibrary.findFunction(FunctionLibrary.java:141)
> at org.teiid.query.function.FunctionLibrary.findFunction(FunctionLibrary.java:1)
> at org.teiid.designer.transformation.ui.reconciler.ReconcilerPanel.syncFunction(ReconcilerPanel.java:725)
> at org.teiid.designer.transformation.ui.reconciler.ReconcilerPanel.expressionButtonPressed(ReconcilerPanel.java:681)
> at org.teiid.designer.transformation.ui.reconciler.ReconcilerPanel$6.widgetSelected(ReconcilerPanel.java:364)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1949) Unable to create function from the reconciler
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1949?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1949:
----------------------------------------
Looks like our ReconcilerPanel has limited support for function definition which does not correctly recurse through nested functions as in:
concat( LastName, concat(', ', FirstName))
Launching from T-Editor, Teiid's ResolverVisitor correctly does this.
Workaround is to use the Function Builder from the T-Editor for complex function building.
> Unable to create function from the reconciler
> ----------------------------------------------
>
> Key: TEIIDDES-1949
> URL: https://issues.jboss.org/browse/TEIIDDES-1949
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 8.3
>
>
> Description of problem: Trying to create a function to concatenate last and first names, but nothing would return from dialog after pressing OK. Looking in the log, NPE was found:
> java.lang.NullPointerException
> at org.teiid.query.function.FunctionTree.getFunction(FunctionTree.java:386)
> at org.teiid.query.function.FunctionLibrary.findFunction(FunctionLibrary.java:141)
> at org.teiid.query.function.FunctionLibrary.findFunction(FunctionLibrary.java:1)
> at org.teiid.designer.transformation.ui.reconciler.ReconcilerPanel.syncFunction(ReconcilerPanel.java:725)
> at org.teiid.designer.transformation.ui.reconciler.ReconcilerPanel.expressionButtonPressed(ReconcilerPanel.java:681)
> at org.teiid.designer.transformation.ui.reconciler.ReconcilerPanel$6.widgetSelected(ReconcilerPanel.java:364)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1963) Designer Create User Defined Function Dialog Result Set Tab Add Column Button Does Not Enable
by Van Halbert (JIRA)
Van Halbert created TEIIDDES-1963:
-------------------------------------
Summary: Designer Create User Defined Function Dialog Result Set Tab Add Column Button Does Not Enable
Key: TEIIDDES-1963
URL: https://issues.jboss.org/browse/TEIIDDES-1963
Project: Teiid Designer
Issue Type: Bug
Components: Dialogs
Affects Versions: 8.3
Reporter: Van Halbert
Assignee: Barry LaFond
Description of problem:
Following the E2E Yahoo UDF Test Script, I tried to create the UDF. When I got to the part to create the return parameter for the function the "Add" column button could not be enabled.
Version-Release number of selected component (if applicable):
DV 6.0.0 ER4
JBDS 7.1.0 CR1
JBIS 4.1.3 Beta5
Teiid Designer 8.3.0 CR1
OS X 10.9
How reproducible:
Happens every time.
Steps to Reproduce:
Using Designer:
1. Create a new relational model
2. New Child > Procedure > User Defined Function > OK
3. Enter a function "Name" and a "Java Class" (to get rid of error message)
4. Click the "Result Set" tab
5. There is no way to add a result set column
Actual results:
Unable to create a return parameter for relational UDF model. But the model can be created and the return parameter can be added later using the New Child menu option.
Expected results:
The "Add" button in the wizard should enable so that a return parameter can be entered.
Additional info:
None
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1963) Designer Create User Defined Function Dialog Result Set Tab Add Column Button Does Not Enable
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1963?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-1963:
----------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1035356
> Designer Create User Defined Function Dialog Result Set Tab Add Column Button Does Not Enable
> ---------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1963
> URL: https://issues.jboss.org/browse/TEIIDDES-1963
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
>
> Description of problem:
> Following the E2E Yahoo UDF Test Script, I tried to create the UDF. When I got to the part to create the return parameter for the function the "Add" column button could not be enabled.
> Version-Release number of selected component (if applicable):
> DV 6.0.0 ER4
> JBDS 7.1.0 CR1
> JBIS 4.1.3 Beta5
> Teiid Designer 8.3.0 CR1
> OS X 10.9
> How reproducible:
> Happens every time.
> Steps to Reproduce:
> Using Designer:
> 1. Create a new relational model
> 2. New Child > Procedure > User Defined Function > OK
> 3. Enter a function "Name" and a "Java Class" (to get rid of error message)
> 4. Click the "Result Set" tab
> 5. There is no way to add a result set column
> Actual results:
> Unable to create a return parameter for relational UDF model. But the model can be created and the return parameter can be added later using the New Child menu option.
> Expected results:
> The "Add" button in the wizard should enable so that a return parameter can be entered.
> Additional info:
> None
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1963) Designer Create User Defined Function Dialog Result Set Tab Add Column Button Does Not Enable
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1963?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-1963:
---------------------------------------------------
Van Halbert <vhalbert(a)redhat.com> changed the Status of [bug 1035356|https://bugzilla.redhat.com/show_bug.cgi?id=1035356] from NEW to ASSIGNED
> Designer Create User Defined Function Dialog Result Set Tab Add Column Button Does Not Enable
> ---------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1963
> URL: https://issues.jboss.org/browse/TEIIDDES-1963
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
>
> Description of problem:
> Following the E2E Yahoo UDF Test Script, I tried to create the UDF. When I got to the part to create the return parameter for the function the "Add" column button could not be enabled.
> Version-Release number of selected component (if applicable):
> DV 6.0.0 ER4
> JBDS 7.1.0 CR1
> JBIS 4.1.3 Beta5
> Teiid Designer 8.3.0 CR1
> OS X 10.9
> How reproducible:
> Happens every time.
> Steps to Reproduce:
> Using Designer:
> 1. Create a new relational model
> 2. New Child > Procedure > User Defined Function > OK
> 3. Enter a function "Name" and a "Java Class" (to get rid of error message)
> 4. Click the "Result Set" tab
> 5. There is no way to add a result set column
> Actual results:
> Unable to create a return parameter for relational UDF model. But the model can be created and the return parameter can be added later using the New Child menu option.
> Expected results:
> The "Add" button in the wizard should enable so that a return parameter can be entered.
> Additional info:
> None
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1962) Incorrect Wizard Error Message When Creating A User Defined Function
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1962?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-1962:
----------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1035372
> Incorrect Wizard Error Message When Creating A User Defined Function
> --------------------------------------------------------------------
>
> Key: TEIIDDES-1962
> URL: https://issues.jboss.org/browse/TEIIDDES-1962
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
>
> Description of problem:
> After filling in the function name, the error message states "User defined function category is undefined." Filling in the "Function Category" does not change the error message. Once the "Java Class" is filled in the error message goes away.
> Turns out the "Function Category" isn't required at all.
> Version-Release number of selected component (if applicable):
> DV 6.0.0 ER4
> JBDS 7.1.0 CR1
> JBIS 4.1.3 Beta5
> Teiid Designer 8.3.0 CR1
> How reproducible:
> Steps to Reproduce :
> Using Designer:
> 1. Create a new relational model
> 2. New Child > Procedure > User Defined Function > OK
> 3. Enter a function "Name."
> 4. Wizard error message now shows "User defined function category is undefined"
> 5. Only way to get rid of this error message is to enter a "Java Class"
> Actual results:
> Incorrect, misleading error message.
> Expected results:
> A correct error message indicating the "Java Class" is missing.
> Additional info:
> None.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1962) Incorrect Wizard Error Message When Creating A User Defined Function
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1962?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-1962:
---------------------------------------------------
Van Halbert <vhalbert(a)redhat.com> changed the Status of [bug 1035372|https://bugzilla.redhat.com/show_bug.cgi?id=1035372] from NEW to ASSIGNED
> Incorrect Wizard Error Message When Creating A User Defined Function
> --------------------------------------------------------------------
>
> Key: TEIIDDES-1962
> URL: https://issues.jboss.org/browse/TEIIDDES-1962
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
>
> Description of problem:
> After filling in the function name, the error message states "User defined function category is undefined." Filling in the "Function Category" does not change the error message. Once the "Java Class" is filled in the error message goes away.
> Turns out the "Function Category" isn't required at all.
> Version-Release number of selected component (if applicable):
> DV 6.0.0 ER4
> JBDS 7.1.0 CR1
> JBIS 4.1.3 Beta5
> Teiid Designer 8.3.0 CR1
> How reproducible:
> Steps to Reproduce :
> Using Designer:
> 1. Create a new relational model
> 2. New Child > Procedure > User Defined Function > OK
> 3. Enter a function "Name."
> 4. Wizard error message now shows "User defined function category is undefined"
> 5. Only way to get rid of this error message is to enter a "Java Class"
> Actual results:
> Incorrect, misleading error message.
> Expected results:
> A correct error message indicating the "Java Class" is missing.
> Additional info:
> None.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1962) Incorrect Wizard Error Message When Creating A User Defined Function
by Van Halbert (JIRA)
Van Halbert created TEIIDDES-1962:
-------------------------------------
Summary: Incorrect Wizard Error Message When Creating A User Defined Function
Key: TEIIDDES-1962
URL: https://issues.jboss.org/browse/TEIIDDES-1962
Project: Teiid Designer
Issue Type: Bug
Components: Dialogs
Affects Versions: 8.3
Reporter: Van Halbert
Description of problem:
After filling in the function name, the error message states "User defined function category is undefined." Filling in the "Function Category" does not change the error message. Once the "Java Class" is filled in the error message goes away.
Turns out the "Function Category" isn't required at all.
Version-Release number of selected component (if applicable):
DV 6.0.0 ER4
JBDS 7.1.0 CR1
JBIS 4.1.3 Beta5
Teiid Designer 8.3.0 CR1
How reproducible:
Steps to Reproduce :
Using Designer:
1. Create a new relational model
2. New Child > Procedure > User Defined Function > OK
3. Enter a function "Name."
4. Wizard error message now shows "User defined function category is undefined"
5. Only way to get rid of this error message is to enter a "Java Class"
Actual results:
Incorrect, misleading error message.
Expected results:
A correct error message indicating the "Java Class" is missing.
Additional info:
None.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (TEIIDDES-1962) Incorrect Wizard Error Message When Creating A User Defined Function
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1962?page=com.atlassian.jira.plu... ]
Van Halbert reassigned TEIIDDES-1962:
-------------------------------------
Assignee: Barry LaFond
> Incorrect Wizard Error Message When Creating A User Defined Function
> --------------------------------------------------------------------
>
> Key: TEIIDDES-1962
> URL: https://issues.jboss.org/browse/TEIIDDES-1962
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 8.3
> Reporter: Van Halbert
> Assignee: Barry LaFond
>
> Description of problem:
> After filling in the function name, the error message states "User defined function category is undefined." Filling in the "Function Category" does not change the error message. Once the "Java Class" is filled in the error message goes away.
> Turns out the "Function Category" isn't required at all.
> Version-Release number of selected component (if applicable):
> DV 6.0.0 ER4
> JBDS 7.1.0 CR1
> JBIS 4.1.3 Beta5
> Teiid Designer 8.3.0 CR1
> How reproducible:
> Steps to Reproduce :
> Using Designer:
> 1. Create a new relational model
> 2. New Child > Procedure > User Defined Function > OK
> 3. Enter a function "Name."
> 4. Wizard error message now shows "User defined function category is undefined"
> 5. Only way to get rid of this error message is to enter a "Java Class"
> Actual results:
> Incorrect, misleading error message.
> Expected results:
> A correct error message indicating the "Java Class" is missing.
> Additional info:
> None.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months