[Revert][Fix] Clone element in AbstractTransaction.findElement() but only if readonly

This commit is contained in:
Robert von Burg 2020-04-20 09:30:41 +02:00
parent 637ffd970c
commit d935a96b27
1 changed files with 0 additions and 3 deletions

View File

@ -479,9 +479,6 @@ public abstract class AbstractTransaction implements StrolchTransaction {
throw new StrolchModelException(MessageFormat.format(msg, locator));
}
if (rootElement.isReadOnly())
rootElement = rootElement.getClone(true);
if (elements.size() == 3)
return (T) rootElement;