Public bug reported:

Binary package hint: evolution

Using Evolution data server libebook function 'e_book_get_changes' never
reports any change.

Problem can be reproduces as follows:
- run the sample test program, it reports 'no changes'
- make some change in Evolution address book
- run the sample test program again, it still reports 'no changes'

Expected results: second invocation of test program should report 'some
changes'

Source code for the test program:
===========================================================================

#include <glib-object.h>
#include <e-book.h>
#include <stdio.h>

int main()
{
        GError* gerror = NULL;
        EBook*  ebook  = NULL;
        GList*  glist  = NULL;
        ebook = e_book_new_system_addressbook(&gerror);
        if (gerror)
        {
                fprintf(stderr, "e_book_new_system_addressbook error\n");
                exit(2);
        }
        e_book_open(ebook, TRUE, &gerror);
        if (gerror)
        {
                fprintf(stderr, "e_book_open error\n");
                exit(2);
        }
        e_book_get_changes(ebook, "changestest", &glist, &gerror);
        if (gerror)
        {
                fprintf(stderr, "e_book_get_changes error\n");
                exit(2);
        }
        if (glist)
                fprintf(stderr, "some changes\n");
        else
                fprintf(stderr, "no changes\n");
        exit(0);
}

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: evolution 2.30.3-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic-pae 2.6.35.4
Uname: Linux 2.6.35-22-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Oct 11 17:18:01 2010
ExecutablePath: /usr/bin/evolution
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANGUAGE=fr_BE:fr_FR:fr:en_GB:en
 PATH=(custom, user)
 LANG=fr_BE.utf8
 SHELL=/bin/bash
SourcePackage: evolution

** Affects: evolution (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick

-- 
e_book_get_changes always reports no changes in libebook evolution data server
https://bugs.launchpad.net/bugs/658459
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to