[
https://issues.jboss.org/browse/TEIIDDES-2782?page=com.atlassian.jira.plu...
]
Paul Richardson commented on TEIIDDES-2782:
-------------------------------------------
[~blafond]
Testing / debugging brings the following conclusions:
# Adding a t == null check at the top of Teiid9ParserTokenManager.calculateOffset (can be
added into jjt file for permanence) mitigates the parser error. This, I think has to be
the most appropriate fix since everything in that method requires the presence of a token.
I am not sure there is much else that can be done about these '\r'. Trying to
duplicate this with '\n' or '\t' seems impossible and even copying the
text into notepad then into the editor works fine.
# Whether the fix above is added or not, the comment handling still breaks in various
situations and performs oddly, despite there being several quite complex unit tests in
TestQuery9Parser. All the unit tests pass but there still remains an issue with comments
moving around and disappearing. This, I think, represents an unrelated bug that would need
to be investigated separately.
Copy paste sql to the transformation editor is not parsable
-----------------------------------------------------------
Key: TEIIDDES-2782
URL:
https://issues.jboss.org/browse/TEIIDDES-2782
Project: Teiid Designer
Issue Type: Bug
Components: Editors, Transformations
Affects Versions: 10.0.1
Environment: Windows 10 Pro N
Windows 7 Enterprise
Reporter: Matej Kralik
Assignee: Ted Jones
Priority: Critical
Fix For: 11.1.3
Attachments: XmlStagingProject.zip, endOfFile.mkv
When I copy a sql query from any source (notepad, web browser ...) and paste it to the
transformation editor show me that "The query is not parsable.Error in parsing of sql
- null ."
When I deleted all newlines from sql query or I wrote it myself to the editor, sql query
was validated.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)