enhancement
major
minor
major
minor
defect
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 that element from the database at the same time. Therefore, it is not possible to use these methods to move an element to a different location.
These methods, which have an unexpected effect, have been removed.
Code Migration
To ensure semantic consistency during the migration, ...
- se.tDelete() must now be called instead of se.remove().
- se.tDelete() must now be called instead of p.removeChild(se).
Caution: With #26739, remove and add methods with the same names are being reintroduced, so failure to follow the migration instructions will result in an unnoticed change in semantics.
Test
Refactoring, no new test.