[
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