http://bugzilla.meego.com/show_bug.cgi?id=1022

           Summary: calling GetConfig() before GetConfigs() does not work
    Classification: MeeGo Projects
           Product: SyncEvolution
           Version: unspecified
          Platform: Netbook
        OS/Version: IA
            Status: ASSIGNED
          Severity: enhancement
          Priority: Low
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


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".

-- 
Configure bugmail: http://bugzilla.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to