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
I am afraid this is a case where some notifications are not sent during discarding the changes. To make sure whether this is the case we have to check the notifications being sent during the discarding. For this, we should reuse the test case from a0fa9cf (created for issue #26) and list all events.
If something is missing, then we should try to figure out why it was not sent by Magicdraw; if everything is sent correctly, then we could try to figure out what VIATRA needs to do differently.
'Discard Changes' and Discard 'Changed Recursively' can lead to query results sets with elements that got removed in the discard process.
Environment
MD 19.0 but this seems to be the case in CSM 19sp2 as well
V4MD 2.3.0
My testing covered edges (abstraction, dependency, etc..) but it may be the case with other elements as well.
To reproduce this:
The query will return the new element that just got removed.
Minimal working example
I set up an example to test this on TWC (internal)
V4MD-test > v4md-debug
And made a test plugin of the MD Plugin Skeleton
https://github.com/IncQueryLabs/MD_plugin_skeleton/commits/v4md-debug
Usage
The model structure is the following:
The Query I use:
To run the query and display name and ids
The output of the first run:
I delete this abstraction and create a new one with the same endpoints and call it New Abstraction
Re-run the action:
Now I discard changes
And run the action again:
The text was updated successfully, but these errors were encountered: