Bug 52760 - calling GetConfig() before GetConfigs() does not work
Summary: calling GetConfig() before GetConfigs() does not work
Status: RESOLVED MOVED
Alias: None
Product: SyncEvolution
Classification: Unclassified
Component: SyncEvolution (show other bugs)
Version: unspecified
Hardware: All All
: low enhancement
Assignee: SyncEvolution Community
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 20:19 UTC by SyncEvolution Community
Modified: 2018-10-13 12:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Patrick Ohly 2012-07-29 18:36:00 UTC


---- Reported by jingke.zhang@intel.com 2010-04-19 20:19:05 +0000 ----

This is from http://bugzilla.moblin.org/show_bug.cgi?id=10435

   Description  From  jku   2010-03-25 11:58:55 PST   (-) [reply]

This works:
    Server.GetConfigs(True)
    Server.GetConfig(bt_template_name, True)


This does not (if I've just started syncevo-dbus-service):
    Server.GetConfig(bt_template_name, True)
I get a NoSuchConfig error.


It seems calling GetConfig() before GetConfigs does not work.

------- Comment #1 From pohly 2010-03-30 06:19:09 PST (-) [reply] -------

Yongsheng, do you have an idea on this?

Jussi, how badly does this break sync-ui?

------- Comment #2 From yongsheng zhu 2010-03-30 19:04:07 PST (-) [reply] -------

(In reply to comment #0)
> This works:
>     Server.GetConfigs(True)
>     Server.GetConfig(bt_template_name, True)
> 
> 
> This does not (if I've just started syncevo-dbus-service):
>     Server.GetConfig(bt_template_name, True)
> I get a NoSuchConfig error.
yes, you are right. that's because 'bt_template_name' is generated by
'GetConfigs()' dynamically and you won't know 'bt_template_name' unless you
call 'GetConfigs()', right?

But current logic is not good to me, so if this blocks you, I'll change the
implementation.

------- Comment #3 From jku 2010-03-31 00:59:53 PST (-) [reply] -------

> But current logic is not good to me, so if this blocks you, I'll change the
> implementation.

It does not block me, it's just something I noticed while testing with
"d-feet".



--- Bug imported by patrick.ohly@gmx.de 2012-07-29 20:36 UTC  ---

This bug was previously known as _bug_ 1022 at https://bugs.meego.com/show_bug.cgi?id=1022
Comment 1 GitLab Migration User 2018-10-13 12:38:14 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/SyncEvolution/syncevolution/issues/5.


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.