major
nice-to-have
minor
Two types are important for the form editor:
- The type for which a specific form definition exists.
- The type that is displayed or created.
The "Additional Attributes" group in the form editor displays all attributes of the subtypes that are not part of the designed form. In particular, this group does not contain any attributes of the type for which the form is defined.
In the case of the editor, the form is displayed correctly. In the case of the creation dialog, the “Additional Attributes” group also contains attributes of the type for which the form was defined. This is incorrect.
In the form editor, in this case, the type containing the form definition is explicitly set to null, and the type being created is set to the type containing the form definition. This is an attempt to fix a previous error where the types had already been incorrectly assigned. Unfortunately, this did not resolve the root cause but instead added more strange code segments.
This makes no sense in its current form.
Test
/com.top_logic.demo/src/test/com/top_logic/demo/scripted/form/TestTypedForms.script.xml
/com.top_logic.demo/src/test/com/top_logic/demo/scripted/form/TestOtherAttributesInForm.script.xml