Enhancement
In TL, instanceof checks are versioned i.e. an instance of a class in a closed revision is not "instanceof" its class in the current revision or if the class is specified as literal.
Thus TLScript conditions and Goto / DefaultFor checks do not work on historical instances.
- Calculated reference attributes: The type check of the result fails if the base object (and thus the reference) is historical.
- Form types: If the form has a type specified, the form is not displayed for a historical object.
Test
- TestTLModelUtilPersistent#testIsCompatibleType()
- TestInstanceOf.script.xml