[Revert][Fix] Clone element in AbstractTransaction.findElement() but only if readonly
This commit is contained in:
parent
637ffd970c
commit
d935a96b27
|
@ -479,9 +479,6 @@ public abstract class AbstractTransaction implements StrolchTransaction {
|
||||||
throw new StrolchModelException(MessageFormat.format(msg, locator));
|
throw new StrolchModelException(MessageFormat.format(msg, locator));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rootElement.isReadOnly())
|
|
||||||
rootElement = rootElement.getClone(true);
|
|
||||||
|
|
||||||
if (elements.size() == 3)
|
if (elements.size() == 3)
|
||||||
return (T) rootElement;
|
return (T) rootElement;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue