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 668174 - Unable to create meeting, appointment and task
Unable to create meeting, appointment and task
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Calendar
3.3.x
Other Linux
: High major
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-01-18 12:40 UTC by Punit Jain
Modified: 2012-02-21 04:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Evolution EWS patch (641 bytes, patch)
2012-01-30 06:51 UTC, Punit Jain
committed Details | Review

Description Punit Jain 2012-01-18 12:40:45 UTC
Try to create any of meeting, appointment and task and click on save button, nothing happens.
I get following warnings in terminal :
(evolution:10086): libecal-WARNING **: Cannot retrieve backend property: Unknown calendar property 'cache-dir'

(evolution:10086): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion `path != NULL' failed

(evolution:10086): e-attachment-store.c-CRITICAL **: e_attachment_store_save_async: assertion `G_IS_FILE (destination)' failed

(evolution:10086): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

[Thread 0xa7ec8b70 (LWP 10113) exited]
^C
Program received signal SIGINT, Interrupt.
0xb6619994 in poll () from /lib/libc.so.6
(gdb) t a a bt

Thread 2 (Thread 0xb61acb70 (LWP 10089))

  • #0 read
    from /lib/libpthread.so.0
  • #1 unix_signal_helper_thread
    at gmain.c line 4567
  • #2 g_thread_create_proxy
    at gthread.c line 1962
  • #3 start_thread
    from /lib/libpthread.so.0
  • #4 clone
    from /lib/libc.so.6

Thread 1 (Thread 0xb631e820 (LWP 10086))

  • #0 poll
    from /lib/libc.so.6
  • #1 g_poll
    at gpoll.c line 132
  • #2 g_main_context_poll
    at gmain.c line 3402
  • #3 g_main_context_iterate
    at gmain.c line 3084
  • #4 g_main_context_iteration
    at gmain.c line 3152
  • #5 gtk_main_iteration
    at gtkmain.c line 1462
  • #6 get_attachment_list
    at comp-editor.c line 343
  • #7 save_comp
    at comp-editor.c line 546
  • #8 save_comp_with_send
    at comp-editor.c line 698
  • #9 action_save_cb
    at comp-editor.c line 996
  • #10 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #11 g_closure_invoke
    at gclosure.c line 774
  • #12 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #13 g_signal_emit_valist
    at gsignal.c line 3003
  • #14 g_signal_emit
    at gsignal.c line 3060
  • #15 _gtk_action_emit_activate
    at gtkaction.c line 799
  • #16 gtk_action_activate
    at gtkaction.c line 829
  • #17 button_clicked
    at gtktoolbutton.c line 811
  • #18 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #19 g_closure_invoke
    at gclosure.c line 774
  • #20 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #21 g_signal_emit_valist
    at gsignal.c line 3003
  • #22 g_signal_emit
    at gsignal.c line 3060
  • #23 gtk_button_clicked
    at gtkbutton.c line 1197
  • #24 gtk_real_button_released
    at gtkbutton.c line 1826
  • #25 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #26 g_type_class_meta_marshal
    at gclosure.c line 885
  • #27 g_closure_invoke
    at gclosure.c line 774
  • #28 signal_emit_unlocked_R
    at gsignal.c line 3202
  • #29 g_signal_emit_valist
    at gsignal.c line 3003
  • #30 g_signal_emit
    at gsignal.c line 3060
  • #31 gtk_button_released
    at gtkbutton.c line 1183
  • #32 gtk_button_button_release
    at gtkbutton.c line 1718
  • #33 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #34 g_type_class_meta_marshal
    at gclosure.c line 885
  • #35 g_closure_invoke
    at gclosure.c line 774
  • #36 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #37 g_signal_emit_valist
    at gsignal.c line 3013
  • #38 g_signal_emit
    at gsignal.c line 3060
  • #39 gtk_widget_event_internal
    at gtkwidget.c line 6132
  • #40 gtk_widget_event
    at gtkwidget.c line 5848
  • #41 gtk_propagate_event
    at gtkmain.c line 2614
  • #42 gtk_main_do_event
    at gtkmain.c line 1889
  • #43 _gdk_event_emit
    at gdkevents.c line 71
  • #44 gdk_event_source_dispatch
    at gdkeventsource.c line 360
  • #45 g_main_dispatch
    at gmain.c line 2441
  • #46 g_main_context_dispatch
    at gmain.c line 3011
  • #47 g_main_context_iterate
    at gmain.c line 3089
  • #48 g_main_loop_run
    at gmain.c line 3297
  • #49 gtk_main
    at gtkmain.c line 1362
  • #50 main
    at main.c line 688

Actual result :
Editor window should be closed and item should have created.
Comment 1 Punit Jain 2012-01-30 06:51:32 UTC
Created attachment 206395 [details] [review]
Evolution EWS patch

The problem was that it wasn't able to find cache-dir backend property. Solution for the problem is let the ECalBackend find the property if its not there in ews backend and it will report error appropriately.
Thanks!
Comment 2 Chenthill P 2012-02-16 16:58:59 UTC
Review of attachment 206395 [details] [review]:

Looks good. You might also need to set the ECalBackendEwsPrivate->storage_path to cache_dir prop in the backend.
Comment 3 Punit Jain 2012-02-17 11:05:41 UTC
Review of attachment 206395 [details] [review]:

Patch has been committed to master branch. priv->storage_path is built with cache dir and folder_id which we are setting in e_cal_backend_ews_open. We can set it every time if it doesn't exist, in same function.
Thanks!
http://git.gnome.org/browse/evolution-ews/commit/?id=8039cdb740526ab977e151a82b7b9ce9f9fcb667