[
https://issues.jboss.org/browse/TEIIDDES-2376?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2376:
----------------------------------------
I think it's an issue with the BufferReader.readLine(). On Windows, the line feed
chars incude both "\r" and "\n", but Linux only "\". When
calculating the XMLDocument's "doc regions, the cached regions (lines) INCLUDE
both characters, so when the document region get's edited, the document OFFSET is
different. Basically it's off by #chars == #lines to that region/line.
The *RefactorResourcesUtils.calculateTextChanges()* and probably *calculateSQLChanges()*
methods are assuming that there is only ONE carriage return char with each line when
calculating the OFFSET value. Not sure what do do here because it's OS dependent?
On windows environment, renamig a source model file's name using
JBDS will broke a view model which uses the renamed source model
---------------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-2376
URL:
https://issues.jboss.org/browse/TEIIDDES-2376
Project: Teiid Designer
Issue Type: Bug
Components: Eclipse Integration
Affects Versions: 8.3.4
Environment: - JBDS 7.1.1
- JBDSIS 7.0.3
- Windows 7
Reporter: hisao furuichi
Assignee: Barry LaFond
Fix For: 8.6.1, 9.0.1, 9.0
On windows environment, renamig a source model file's name using JBDS will broke a
view model which uses the renamed source model
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)