Summary: | ER diagram issues - umbrello is failing to move widgets (entities), duplicating text & relations | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | sainthyoga2003 |
Component: | general | Assignee: | Joris Steyn <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | okellogg, ralf.habacker |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | https://dl.dropboxusercontent.com/u/17565256/diagrama%20de%20relaci%C3%B3n%20de%20entidad.png | ||
Latest Commit: | http://commits.kde.org/umbrello/4fd0e85f6470d35827aef0003e600f6e5a161238 | Version Fixed In: | 4.11.3 |
Sentry Crash Report: | |||
Attachments: | Fix multiple association widgets for single foreign key constraint |
Description
sainthyoga2003
2013-05-06 03:41:21 UTC
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 |