← Back to team overview

desktop-packages team mailing list archive

[Bug 658459] Re: e_book_get_changes always reports no changes in libebook evolution data server

 

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

** Changed in: evolution (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/658459

Title:
  e_book_get_changes always reports no changes in libebook evolution
  data server

Status in “evolution” package in Ubuntu:
  Expired

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/658459/+subscriptions