Detail
Detail
Bugfix
Problem
A class B` inherits a mandatory attribute `name from A`. An attempt is now made to create an instance of class `B as a singleton. This fails because no value can be given for the mandatory attribute when a singleton is created. So the inheritance relationship between B` and `A is deleted - there should now no longer be a mandatory field in B. The creation of the singleton still fails with the same error message. The singleton can only be created after restarting the server.
Analysis
The cache com.top_logic.util.model.ModelService._checkForType is not updated for all relevant events. Similar problems also occur with other model changes.
Test
TestMandatoryAttributeInSingleton.script.xml