-
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
Wrong validation of end to end flow across data access #1974
Comments
There are even MORE errors if you switch around the end points of the bidirectional connections, see
|
I think this has to do with an interaction between bidirectional connections and the flow path checking. I should create an example that uses regular ports instead of access connections and see how it behaves. |
Definitely a problem with the bidirectional connections. I made an example that uses ports instead of data access, and it is easier to understand the problem there:
It definitely seems like the checking on the flow elements is only considering the literal connection source and destination elements and ignoring the bidirectionally of the connection. You can see this by the fact that in |
Error messages come from |
Being looking through
|
Fixed the second bullet, above. Looking at |
Also, need to create separate test where I use connections that really only do match on one endpoint. |
The problem is not |
Did a substantial rewrite of Going to
|
Data access connections do not work because the connection references the data subcomponent as the "connection end" not the "context". We need a special case to check for this. I was worried that I need to test endpoints of the form "sub.fg.f", but this is not the case because end to end flows deal with components that are all siblings, so we cannot reach into the feature group in the connections. |
Okay, I think I fixed the data access connection issue. This comes up when the next/previous flow element is a subcomponent. Originally in this case we checked the destination/source context of the connection against the subcomponent. But when the connection is an access connection, we have to account for the fact that one end of the data access connection is going to connect directly to the subcomponent. So, if the connection is an access connection, the subcomponent we test is the ConnectionEnd if the context is null, otherwise we use the context like usual. |
Fixed data access connections in the flows. Going to set up the JUnit tests now. |
Refactored |
The example from Issue #643 has 2 errors on the declarative model that seem overly strict and should probably be removed. We need check what exactly are the rules in the spec and what exactly the verifier thinks it is verifying.
On
c0
in the flow spec we have the errorOn
c1
in the flow spec we have the errorThe text was updated successfully, but these errors were encountered: