-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Comment Line Relationship (un)link behaviour #72
Comments
This is the exception that's thrown from Gaphor when doing this in real life:
|
I did a fix for this particular case in #85. The problem I see now is that, when a comment is connected to a relationship item, the comment is not re-attached, once the relationship is attached again. This will require some more investigation on our part. |
I'm going to leave this issue open until we fix the other comment issue you mentioned above. |
That sounds okay. There are a few cases that need to be ironed out. For comments:
The current behaviour is that a comment remains connected to a line item (via a comment-line), however, no relation is made between an already existing comment and the newly created relationship. We might also argue that given this behaviour, rule 1 is invalid and a comment should be able to connect to any item, regardless of whether it has a subject attached or not. |
While doing some editing on the meta model, I found that I want to add a link from a comment to an element (in this case generalization) that has no associated model element. So I think it should be possible to add a comment line to any element, and only link the comment to the model element once that's created. I think that's the solution I'm going for. It's most flexible and works as expected for newcomers. |
Fixed by #280 |
The Comment Line Test case is failing based on an assert that a multi adapter was found between
cinfo.item
andcinfo.connected
using theIConnect
interface.I'm submitting a...
Current behavior
The text was updated successfully, but these errors were encountered: