[teiid-designer-dev] [Teiid-Designer/teiid-designer] 686fc2: Fixes exceptions being thrown in Execution Plan Vi...
Paul Richardson
p.g.richardson at redhat.com
Wed Jun 17 10:04:11 EDT 2015
Branch: refs/heads/master
Home: https://github.com/Teiid-Designer/teiid-designer
Commit: 686fc2067d8d8472c92b124162e51385af48c48b
https://github.com/Teiid-Designer/teiid-designer/commit/686fc2067d8d8472c92b124162e51385af48c48b
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2015-06-17 (Wed, 17 Jun 2015)
Changed paths:
M plugins/org.teiid.datatools.connectivity.ui/src/org/teiid/datatools/connectivity/ui/Activator.java
M plugins/org.teiid.datatools.connectivity.ui/src/org/teiid/datatools/views/ExecutionPlanView.java
Log Message:
-----------
Fixes exceptions being thrown in Execution Plan View
* ExecutionPlanView
* If a browser instance is not available then an SWTError can be thrown
which can leave the one half of the view useless.
* Handles the possibility of such an error, by not displaying the
visualisation tab at all, leaving the tree and text views.
Commit: 1c6cbb7f7b0c4e6086c1967e4d27e0b71eaff2a7
https://github.com/Teiid-Designer/teiid-designer/commit/1c6cbb7f7b0c4e6086c1967e4d27e0b71eaff2a7
Author: Paul Richardson <p.g.richardson at redhat.com>
Date: 2015-06-17 (Wed, 17 Jun 2015)
Changed paths:
M plugins/org.teiid.designer.query.ui/src/org/teiid/query/ui/sqleditor/component/TextDisplayNode.java
Log Message:
-----------
TEIIDDES-2548: Handling NUL character in SQL String
* The NUL character can added to an ESCAPE clause using its unicode
counterpart \u0000 and this is converted by java into \0. This character
is problematic for printing in any display since printing will terminate
at the first occurence of NUL.
* Using the SQL editor, users can enter the unicode string into the UI but
on saving this is converted to \0. The DisplayNode tree still contains
all nodes after the \0 but printing DisplayNode.toString() terminates too
soon.
* TextDisplayNode
* Protect the UI in the text from the \0 by returning \\u0000 (escaped
version). This will display \u0000 in the UI and save it to the XMI file
ensuring it can be safely deployed to Teiid.
Compare: https://github.com/Teiid-Designer/teiid-designer/compare/1b2d85082266...1c6cbb7f7b0c
More information about the teiid-designer-dev
mailing list