Features with association reuses cannot be deleted
Issue #561
new
Problem
When trying to delete a feature which has a realization model that contains an association reuse, an error is shown (see below for error) and the deletion fails.
Steps to reproduce
- Create a new concern.
- Add a feature A to the concern.
- Create a new realization model (design model) for A.
- In this design model, create two classes X and Y, and add an association between them.
- Return to the feature tree, and try to delete A. You will see the error below and deletion will be prohibited.
Actual result
“The feature cannot be deleted: Reuses in realization models need to be removed first.”
Expected result
It should be possible to delete a feature with an association reuse.
Environment & Version
Windows 10 Home 1909
TouchCORE version:
- core: branch master, commit c298ba3dfc3d3870bd60ca587c03c10d4e94a7e3
- touchram: branch master, commit 60e62389fa4cbf729287b10ce07cb5c02a0e1772