[
https://issues.jboss.org/browse/TEIIDDES-2534?page=com.atlassian.jira.plu...
]
RH Bugzilla Integration commented on TEIIDDES-2534:
---------------------------------------------------
Debi Rieden <drieden(a)redhat.com> changed the Status of [bug
1222948|https://bugzilla.redhat.com/show_bug.cgi?id=1222948] from VERIFIED to CLOSED
Model Refactoring: renaming folder fails when it contains a source
model that has a dependent view model
--------------------------------------------------------------------------------------------------------
Key: TEIIDDES-2534
URL:
https://issues.jboss.org/browse/TEIIDDES-2534
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 9.0.2
Reporter: Andrej Šmigala
Assignee: Barry LaFond
Labels: release_notes, verified_jbdsis-8.0.3.CR1
Fix For: 9.0.3, 9.2
Attachments: folder-rename.png
When renaming a folder, the refactoring fails with the following exception:
{noformat}
org.eclipse.text.edits.MalformedTreeException: Overlapping text edits
at org.eclipse.text.edits.TextEdit$InsertionComparator.compare(TextEdit.java:121)
at java.util.Collections.indexedBinarySearch(Collections.java:377)
at java.util.Collections.binarySearch(Collections.java:365)
at org.eclipse.text.edits.TextEdit.computeInsertionIndex(TextEdit.java:796)
at org.eclipse.text.edits.TextEdit.internalAdd(TextEdit.java:781)
at org.eclipse.text.edits.TextEdit.addChild(TextEdit.java:335)
at
org.teiid.designer.ui.refactor.RefactorResourcesUtils.calculateModelImportsElementLChanges(RefactorResourcesUtils.java:645)
at
org.teiid.designer.ui.refactor.rename.RenameResourceRefactoring$RelatedResourceCallback.indexFile(RenameResourceRefactoring.java:70)
at
org.teiid.designer.ui.refactor.RefactorResourcesUtils.calculateRelatedResources(RefactorResourcesUtils.java:1068)
at
org.teiid.designer.ui.refactor.rename.RenameResourceRefactoring.checkFinalConditions(RenameResourceRefactoring.java:248)
at
org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85)
at
org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121)
at
org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at
org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)