Enhancement
Major
Detail
Major
Detail
Bugfix
tl:StructuredElement defines the methods remove() and removeChild(StructuredElement child). However, these methods not only remove an element from the structure tree, but also delete this element from the database at the same time. Therefore it is not possible to reassign an element with these methods.
These methods with unexpected effect are omitted.
Code migration
For a semantics-preserving conversion, ...
- instead of se.remove() now se.tDelete() must be called.
- instead of p.removeChild(se) now se.tDelete() must be called.
Caution: With #26739, remove and add methods with the same name are introduced again, so that an unnoticed semantic change occurs if the migration instructions are not followed.
Test
Refactoring, not a new test.