[umbrello-devel] [umbrello] [Bug 191396] Editing attributes in Entity's "Properties" window and adding foreign key constraint causes a crash [invalid UMLObject::getDoc, ClassifierListPage::slotActivateItem, ..., QListWidget::currentItemChanged]
Joris Steyn
jorissteyn at gmail.com
Sat Sep 21 20:04:44 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=191396
--- Comment #25 from Joris Steyn <jorissteyn at gmail.com> ---
Created attachment 82442
--> https://bugs.kde.org/attachment.cgi?id=82442&action=edit
Fix crash when adding entity constraints
The root cause of this crash is not checking for a valid index when retrieving
the item from the QList. We should at least check that value before calling
at().
The patch I propose adds this check and also fixes the problem causing the
index to be wrong in the first place (like Arash Abedinzadeh described).
This will solve (duplicate) issues: bug 237992, bug 257540, bug 302120 and bug
322541
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list