Change
Deactivate bin in form if counter player depends on the association
Issue description
Given two topic types TT1 and TT2 connected by an association type AT, with cardinalities 1-1 for TT1 and 0-* for TT2. A concrete example would be an order (TT1) connected to currency (TT2). Now when editing an instance of TT2, associations can be deleted. Since these associations are mandatory for instances of TT1 they are deleted as well. Consider to disallow deleting associations from this direction in this case. The form does not warn you neither.
Developer comments
Hmm. The fix for this is actually not straight forward. It is not as easy a simply disabling the bin. In many cases the delete makes sense. It would apply in any case where the counter players is always new. Collect some cases where this applies and see what distinguishes them
Clickthrough: a clickthrough test is associated with a configuration. On both ends the topic role constraint is 1-1, they are mutually dependent. Given a clickthrough test CT1 and configuration C1 connected by association A1. When editing C1 the bin for A1 is active. After using the bin the form requires the user to create a new clickthrough test CT2. Upon saving A1 and thus CT1 would be deleted. As C1 is the main topic during the save it is protected and will be connected to CT2.
|
Work sessions
| Start |
2026-05-08T08:12:01
|
| End |
2026-05-08T08:51:53
|
| Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.