Bug 52110 - Introduce optional features in the factories
Summary: Introduce optional features in the factories
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-qt (show other bugs)
Version: git master
Hardware: Other All
: high normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-15 10:25 UTC by George Kiagiadakis
Modified: 2019-12-03 20:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.