Summary: | Unmerging a single contact from person crashes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kpeople | Reporter: | Martin Klapetek <mklapetek> |
Component: | PersonsModel | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aspotashev |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kpeople/2e6f9f89a5a224e510271d24dc8c4870b59e22da | Version Fixed In: | |
Sentry Crash Report: |
Description
Martin Klapetek
2015-04-01 19:46:52 UTC
Git commit b09bef242680d258a2531a24058a9baf560eb076 by Martin Klapetek. Committed on 03/04/2015 at 16:22. Pushed by mklapetek into branch 'Applications/15.04'. KPeople merging requires Contact URI, not ID M +1 -1 main-widget.cpp http://commits.kde.org/telepathy-contact-list/b09bef242680d258a2531a24058a9baf560eb076 Git commit 2e6f9f89a5a224e510271d24dc8c4870b59e22da by Martin Klapetek. Committed on 03/04/2015 at 16:20. Pushed by mklapetek into branch 'master'. Extend the unit tests and fix a bug they uncover I've been investigating a bug in contact list when unmerging a single contact from a Person would leave empty rows (and originally would crash), turns out that removing Contact from Person does not emit the rows removed signal and so the model then tries to access invalid contact (and we get "out of bounds" assert). REVIEW: 123238 CHANGELOG: Fix model not being properly updated after removing a contact from Person M +1 -0 autotests/fakecontactsource.cpp M +88 -2 autotests/personsmodeltest.cpp M +1 -0 autotests/personsmodeltest.h M +4 -0 src/personsmodel.cpp http://commits.kde.org/kpeople/2e6f9f89a5a224e510271d24dc8c4870b59e22da |