After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641123 - Not set "folder-id" property on an addressbook source
Not set "folder-id" property on an addressbook source
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Contacts (Addressbook)
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-01 11:43 UTC by Akhil Laddha
Modified: 2011-02-09 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ema patch (3.66 KB, patch)
2011-02-09 16:46 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2011-02-01 11:43:07 UTC
evolution 2.91.6
gtk+ master
glib master

1. Create a new address book under mapi address book tree
2. Delete it
3. Warning on e-addressbook-factory

(gdb) bt
  • #0 g_logv
    at gmessages.c line 439
  • #1 g_log
    at gmessages.c line 577
  • #2 g_return_if_fail_warning
    at gmessages.c line 586
  • #3 exchange_mapi_connection_remove_folder
    at exchange-mapi-connection.c line 2137
  • #4 ebbm_contacts_remove
    at e-book-backend-mapi-contacts.c line 700
  • #5 ebbm_operation_cb
    at e-book-backend-mapi.c line 866
  • #6 thread_func_cb
    at em-operation-queue.c line 146
  • #7 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #8 g_thread_create_proxy
    at gthread.c line 1897
  • #9 start_thread
    from /lib/libpthread.so.0
  • #10 clone
    from /lib/libc.so.6
Continuing.

(e-addressbook-factory:1284): libexchangemapi-CRITICAL **: exchange_mapi_connection_remove_folder: assertion `fid != 0' failed
Comment 1 Milan Crha 2011-02-09 16:46:36 UTC
Created attachment 180489 [details] [review]
ema patch

for evolution-mapi;

it was forgotten to set "folder-id" on the ESource, thus the backend didn't know about it. With it set there is no such warning on the console. I also fixed few other warnings in the backend, though not all I faced.

Note, for example, that the New->Addressbook doesn't show subfolders in the folder tree og MAPI book when the mailer part is not running. It's because there is no connection kept running in the background. I do not know what to do with it at the moment, and I do not think it's good to have a global connection opened somewhere, though it can be one option.
Comment 2 Milan Crha 2011-02-09 16:48:57 UTC
Created commit f747a84 in ema master (2.91.90+)