Bugfix
An error was introduced with #28080 where an attempt is made to copy attributes that are not defined in the target type. A copy can copy one object type to another. Only attributes that are defined in the source and target type may be copied.
Test
- test.com.top_logic.model.search.expr.TestSearchExpression.testCopyConstructor()