You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Maintain redefinition consistency through deletion handling and validation #2587
Help users evolve reusable models without unintentionally losing local configuration or leaving unnoticed inconsistencies in dependent redefinition trees.
Deleting a source feature can affect configurations elsewhere in the model. Users must understand that impact and choose whether to remove the dependent configuration or preserve it for subsequent restructuring.
Validation complements this workflow by identifying inconsistencies and providing understandable diagnostics. Downstream applications must be able to reuse the relevant rules within their own validation interface.
Description
Before deleting an element, identify all redefinitions that depend on that element or its descendants. Let the user choose whether to delete the affected redefinition trees or preserve their local configuration.
Review existing consistency validation rules, improve their diagnostic messages, and add missing rules where necessary. Identify the relevant rules so downstream applications can reuse them.
Acceptance criteria
Deletion impact analysis runs before source references are removed.
A dialog offers a global choice to preserve or delete affected redefinition trees.
Preserving the trees retains their local configuration.
Validation checks the validity of existing redefinition references and their compatibility with the local context.
Diagnostics identify the affected elements and explain the detected inconsistency.
Validation reports problems without modifying the model.
Relevant validation rules are documented for reuse by downstream applications.
Tests cover deletion choices and validation diagnostics.
Activity
jerome-obeo commentedon Nov 26, 2026
Assign this issue to me