designing a relational model from a database, umbrello is multiplying fk texts, duplicating relations and is not allowing to move many entities widgets. Reproducible: Always Steps to Reproduce: 1. open umbrello 2. open xmi file with relational model 3. trying to move any entity Actual Results: foregin keys text multiplied in the diagram. duplicated relations between entities. entities cannot be dropped Expected Results: foreign keys text showed each one at side of each correspondient entity only one relation between each entity can drop any entity umbrello version 2.8.5 Kubuntu 12.04 x64
Created attachment 82536 [details] 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). Some history (not all that relevant now): This mixup between role A and B for foreign keys was introduced when fixing bug 171280. That bug was fixed by switching A/B, while maybe a better fix would have been to simple render the crowfoot on the other side of the relation. I think the ideal fix would be to revert that change, but that would mean to break all exported ERD's between then and now. BUG: 319391 BUG: 122304 And we could as well close: 171280
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 122304 M +2 -2 umbrello/umlscene.cpp http://commits.kde.org/umbrello/0c696384d1262731356ac076c4bd96a50d271f75
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 122304 FIXED-IN:4.11.3 M +2 -2 umbrello/umlscene.cpp http://commits.kde.org/umbrello/4fd0e85f6470d35827aef0003e600f6e5a161238