| validation warning in an IBD (bug or wrong use?) [message #1300322]
||Thu, 17 April 2014 13:45
| benjamin schmitz
Registered: April 2014
I am using Eclipse Papyrus SysML for a few weeks now and I have got to a slight problem. I am not sure if I got the concept wrong or if it is a kind of bug.
So in short, I tried to use the validation function in papyrus, to make sure that my model is "logical". But I ended up getting a strange warning for a connector in an IBD, which I have typed with an association between the two blocks, which are connected by the connector over flow ports.
Warning: "Connector SysMLmodel::Block::connector must be typed by an association with compatible end types." <Connector> connector SysMLmodel::Block EMF Problem
Warning: "Connector '<Connector> connector' must be typed by an association with compatible end types." <Connector> connector SysMLmodel::Block EMF Problem
Basicly the model looks like this:
"Block" is an composition of "block1" and "block2"
"block1" is associated with "block2"
IBD of "Block":
"block1" has tow "Flowport"s (in, out one each)
"block2" the same
The flow ports are connected with "connectors"
(I will upload the model here)
What is really confusing for me, is the fact, that the warning appears only for one of the tow connectors. I have figured out, that it depends on the direction of the association. From my point of view it should make no difference, since an association should be bidirectional.
If I click first on block 1 and then end the association at block 2, than the connection from block 1 to 2 gets a warning and the other one not. If I click for the association first on block 2 and then block 1, it is the other way around.
I am not sure, if I used the "Type" of the elements completely wrong, or if this might be really a bug. I hope you canhelp me to clear up my confusion.
It might be helpful to know the software version I am using:
Version: Kepler Service Release 2
Build id: 20140224-0627
Papyrus: Version 0.10.2.v201402281227
OS: Windows 8.1 and Windows 7
Thank you very much in advanced and happy eastern,
Attachment: bug hunt.zip
(Size: 5.68KB, Downloaded 88 times)
Powered by FUDForum
. Page generated in 0.01625 seconds