Bug 82743 - activity diagrams can't have more than one "association"
Summary: activity diagrams can't have more than one "association"
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 02:14 UTC by James Hughes
Modified: 2004-06-04 00:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Hughes 2004-06-03 02:14:06 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3 
OS:                Linux

Create an activity diagram with a start state, a branch, and a couple of activities. Only one line (called an 'association' in the Umbrello UI; more on that in a second) to connect any two entities can be placed in the diagram.

Perhaps this is a separate bug, but I'll mention it here: shouldn't the "associations" in the activity diagram UI be more accurately referred to as transitions?
Comment 1 James Hughes 2004-06-03 02:17:21 UTC
Just noticed, the following is printed to stderr when attempting to add the second transition:

umbrello: ERROR: cannot addAssocInViewAndDoc(), deleting
Comment 2 Oliver Kellogg 2004-06-03 14:12:55 UTC
Does this only happen when using different objects of the same class?
If so then I think I've spotted the problem, it's the operator==
of class AssociationWidget which needs to test the locaIDs of the A
and B widgets.
Comment 3 James Hughes 2004-06-03 18:19:54 UTC
First, a retraction on my earlier comment regarding associations vs. transitions in the activity diagram UI. The tooltip does indeed say 'Activity transition' when you mouseover the arrow icon. I must have been staring at the screen too long. Sure glad I didn't report it as a bug :-)

As for your question, my diagram has _no_ objects in it. Currently, there is a start state, a 'branch/merge', and two activities. I have a transition from the start to the branch/merge; any attempts at adding transitions from the branch to either of the two activities fail as described above. 


Comment 4 Oliver Kellogg 2004-06-04 00:07:23 UTC
Wow, quite a blunder that.
Fixed in CVS.