Bug 122304 - umbrello doubles the adjoining role name labels of a relation in an entity-relation diagram when I later add an additional attribute
Summary: umbrello doubles the adjoining role name labels of a relation in an entity-re...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Steyn
URL:
Keywords:
: 226120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-19 21:50 UTC by Tomislav
Modified: 2013-11-12 21:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3


Attachments
ER diagramm with doubled label (11.52 KB, text/x-xmi)
2009-11-05 12:15 UTC, Māris Nartišs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomislav 2006-02-19 21:50:41 UTC
Version:           1.5.1 (using KDE 3.5.1, Gentoo)
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.15-suspend2-r3

Select a relation, choose properties, add a new attribute which is the primary key (say you forgot), move it up to be the first attribute
  	-> all the adjoining role names are doubled!

Haven't had time to see what exactly's causing it, but you can repeat it every time this way.
Comment 1 Oliver Kellogg 2006-03-15 08:04:34 UTC
I cannot confirm this (but probably I'm not doing the exact same steps as you.)
Please give a detailed transcription and/or XMI file and/or screenshot
that show the problem.
Comment 2 theshaman 2006-11-19 16:08:36 UTC
I confirm this bug. When double clic on a composition relation to rename, then, validate a modified name create another relation. Identical bug than discribed here.

My platform is:
Linux Mandriva 2007
KDE 3.5.4
Umbrello (pre-compiled rpm) : 1.5.4
Comment 3 Māris Nartišs 2009-11-05 12:15:43 UTC
Created attachment 38111 [details]
ER diagramm with doubled label

Steps used to create this diagramm:
1) Start new ER diagramm;
2) Add two entities;
3) Add pk attributes to both of them;
4) Add fk attribute to one of them;
5) Add new FK constraint to FK field;
6) see two labels for relationship instead of one.

Created with Version 2.3.3 Using KDE 4.3.3 (KDE 4.3.3) on ~AMD64 Gentoo.
Comment 4 Andi Fischer 2013-09-29 12:20:57 UTC
Git commit 0c696384d1262731356ac076c4bd96a50d271f75 by Andi Fischer, on behalf of Joris Steyn.
Committed on 29/09/2013 at 12:09.
Pushed by fischer into branch 'master'.

Fix multiple association widgets for single foreign key constraint.

Association labels and lines for foreign keys were duplicated each time an
entity constraint was saved. This was due to 'findAssocWidget' using the wrong
entity to find the association (i.e. the entity not holding the constraint
attribute).
Related: bug 319391

M  +2    -2    umbrello/umlscene.cpp

http://commits.kde.org/umbrello/0c696384d1262731356ac076c4bd96a50d271f75
Comment 5 Ralf Habacker 2013-10-06 12:21:08 UTC
Git commit 4fd0e85f6470d35827aef0003e600f6e5a161238 by Ralf Habacker, on behalf of Joris Steyn.
Committed on 29/09/2013 at 12:09.
Pushed by habacker into branch 'KDE/4.11'.

Fix multiple association widgets for single foreign key constraint.

Association labels and lines for foreign keys were duplicated each time an
entity constraint was saved. This was due to 'findAssocWidget' using the wrong
entity to find the association (i.e. the entity not holding the constraint
attribute).
Related: bug 319391
FIXED-IN:4.11.3

M  +2    -2    umbrello/umlscene.cpp

http://commits.kde.org/umbrello/4fd0e85f6470d35827aef0003e600f6e5a161238
Comment 6 Joris Steyn 2013-10-06 17:45:47 UTC
*** Bug 226120 has been marked as a duplicate of this bug. ***