-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow instantiation fails silently in some conditions #1809
Comments
Could you include an example model, please? |
Example below:
|
Just tried the above example:
If you add
to
to then the end to end flow is generated. Removing the flow implementation again from |
Okay, it seems that many errors messages are still being reported on the end to end flow instance, even though that instance is later removed. |
I commented out the code that actually removed the (partially built) end to end flow instances to see if the instance has an error reported on it. Surprisingly, it does not. The end to end flow instance is added to the remove list in
There is an attempt to create an error message, but in this case it is not generated because the stack referenced by |
To be clear, the main issue in the above model is that if you remove the connections, the end to end flow is generated just fine using only the flow specification. |
The actual problem in the above example, by which I mean the thing that causes undesirable OSATE behavior, is the fact that
The problem is
If you change
Interesting note: The warning message is originally places on the end to end flow instance node. Even though this node is removed from the model, the warning marker persists on the resource. This is good to know because some of the warnings/errors creating during this process are placed on the end to end flow instance and some are placed on the containing component. I was wondering what happened to the errors if the ETEI is removed from the model. Now we know the marker will still persist. |
So the fix for this issue is to update I will update this and create a new JUnit test. |
Fixed via PR #1943 |
Summary
When a flow path through a subcomponent is included as part of an end to
end flow, but that flow path is not implemented through the
subcomponents of that component, the end to end flow is not included in
the instance model with no warning to the user.
We discussed this with @joeseibel, who agreed it is a problem.
Environment
The text was updated successfully, but these errors were encountered: