[
https://issues.jboss.org/browse/TEIIDDES-1949?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-1949:
----------------------------------------
The Transformation Editor's Expression builder operates on a New or Existing
expression. Upon return from the dialog/wizard, it replaces the SQL for that expression
then goes through the setSQL() and validation logic which resets everything in the
t-form.
The Reconciler is actually a Secondary editor that allows re-arranging the SQL
(reconciling, adding/removing bindings, functions etc) and the user can Cancel all these
changes. So when the new expression is returned to this panel, it's handled
differently by setting the binding to the new language object rather than replacing the
SQL.
We might be able to somehow replace the SQL text on the cloned *Command* object but this
would take quite alot of work.
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: Minor
Fix For: 8.5
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