Summary: | AccountsModel does not list Salut contacts on load | ||
---|---|---|---|
Product: | Telepathy | Reporter: | sander |
Component: | tp-qt | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | martin.klapetek |
Version: | git master | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
use ContactManager features instead of Connection features for FeatureRosterGroups check
also use ContactManager features check in addition to Connection features check |
Description
sander
2012-11-30 15:56:26 UTC
Created attachment 70838 [details] [review] also use ContactManager features check in addition to Connection features check both conditionals are actually needed ping! bug with fix/patch, should be easy to apply & close this? Hey! Any devs activity here? It is very important bug for me and some more people! I *think* this is the well-known problem that factories do not have optional features. If one feature fails to become ready, then the whole operation fails. Here the Connection is trying to become ready, creating and populating the ContactManager in the process. However, because salut does not implement contact list groups, Connection::FeatureRosterGroups fails and the whole object remains in a broken state. This patch is only a workaround that fixes ContactManager's state and is probably part of the solution, but not the whole solution. I am not very willing to merge it as it is, given that it complicates even more the already highly complex roster introspection monster... At least, not without a proving unit test, which I am sure will make other problems appear and will force us to effectively make Connection::FeatureRosterGroups "optional" (which is a completely sane thing to do btw, I am all for it). -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-qt/issues/44. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.