Bug 52110

Summary: Introduce optional features in the factories
Product: Telepathy Reporter: George Kiagiadakis <gkiagia>
Component: tp-qtAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: high    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description George Kiagiadakis 2012-07-15 10:25:37 UTC
11:05 < d_ed> whoa I think I've found a pretty serious TpQt bug.
11:06 < d_ed> if I have in my channel factory  Tp::Channel::FeatureConferenceInitialInviteeContacts
11:06 < d_ed> I can no longer start 1-1 chats
11:06 < d_ed> ktp-text-ui(28738)/Telepathy-Qt: Nested PendingReady for true failed with "org.freedesktop.Telepathy.Error.NotAvailable" : "Feature depend on interfaces that are not available"  
11:06 < d_ed> ktp-text-ui(28738)/Telepathy-Qt: Preparing proxies for HandleChannels failed with "org.freedesktop.Telepathy.Error.NotAvailable" "Feature depend on interfaces that are not available"  

In short, if you request a feature that depends on an interface that might not be always available, things fail when the interface is not available and that is not good. My idea is to implement the concept of "optional features" in the factories, so that you can tell the factory "make this ready if possible, otherwise continue without error".
Comment 1 GitLab Migration User 2019-12-03 20:29:22 UTC
-- 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/42.

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.