Issue #93 - AutoGenerated Items repeats items with Sets

Issue #93 - DatenMeister

Description

The autogenerated ObjectForm repeats the properties having a set of data (so not a single property) within the RowForm and the TableForm.

Only properties having a single property shall be shown in the RowForm. Properties with multiple properties (or potentially multiple properties) shall be shown in the TableForm.

Solution

The AutoGenerator must implement a more refined solution which filters out the properties having multiple values within the RowForm Creation.

Understand AutoGenerator
Diagram created AutoGeneration of Forms
Understand how “CreateObjectFormForItem” is being called by the Website. Which configuration?
Filter out properties with multiple values (or even potentially multiple values)
Removal of duplicates most honor that in case of a property in both lists, the properties from “WithCollection” override the “WithoutCollection”
image-20241208-171937.png

 

 

Add Button to create items of a new metaclass within the specialized packagedElements
Add Button, that allows the user to always create an unclassified item
Add configuration in TableForm to allow prevention of that button
Change “CreatesRowForm”, to ensure that a rowform is always created. This is necessary for the action buttons.
Remove Reverse Collection. Does not bring additional benefit after the removal.
Ensure and check that the creation of the RowForms is orthogonal to the TableForm, so no property gets lost.

 

Â