minor
minor
defect
A tl:ResKey can contain arguments. When displayed, these arguments are automatically converted to text, even if they are objects of any class. However, if you encode such a ResKey with non-primitive arguments (e.g., to save it), the arguments with unknown types are serialized but not quoted, causing subsequent decoding of the ResKey to fail.
Observation
For example, when the scheduler stores an error message for later display in the task GUI, it does so by encoding `ResKey`s. If this key contains, for example, maps as arguments, the task GUI crashes because these keys can no longer be decoded later.
Test
- test.com.top_logic.basic.util.TestResKeyEncoding.testEncodeDecode()