e_book_get_changes always reports no changes in libebook evolution data server

Bug #658459 reported by Alain A Servais
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Expired
Low
Unassigned

Bug Description

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

Revision history for this message
Alain A Servais (alain-a-servais) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

that should be send to bugzilla.gnome.org by someone interested on that particular code example.

Changed in evolution (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in evolution (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for evolution (Ubuntu) because there has been no activity for 60 days.]

Changed in evolution (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.