arthurzaczek / kolab-android

Automatically exported from code.google.com/p/kolab-android
GNU General Public License v3.0
0 stars 0 forks source link

Calendar Entries synced from IMAP to phone are non editable (Calendar app crashes) #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up an appointment on the PC, sync it to IMAP
2. Sync appointment to phone
3. It shows up correctly in the calendar
4. One can long press on it and select "view"
5. However, one CAN NOT edit it -> Calendar app crashes.

What is the expected output? What do you see instead?

Calendar app opening the edit window

I have had a look on the sqlite db but cannot tell whats exact difference 
between events created from phone in our calendar via calendar app, which are 
then editable, and appointments synced to the phone.

I just noticed that there are differences in "hasExtentedProperties" and also 
our timezones seem to have issues (see issue #73)

Original issue reported on code.google.com by STrille...@googlemail.com on 31 Oct 2011 at 9:42

GoogleCodeExporter commented 9 years ago
The Android build in calendar app? Or another one?

Can you attach an example - maybe there's a corner case.

Original comment by arthur.z...@gmail.com on 26 Jun 2012 at 3:52

GoogleCodeExporter commented 9 years ago
I've got the same problem: If I try to edit an contact using the ics branch of 
kolab-droid, the contact app crashes.

Here is the stacktrace of it:

E/AndroidRuntime(29037): FATAL EXCEPTION: main
E/AndroidRuntime(29037): java.lang.RuntimeException: Unable to start activity 
ComponentInfo{at.dasz.KolabDroid/at.dasz.KolabDroid.ContactsContract.EditContact
Activity}: java.lang.NullPointerException
E/AndroidRuntime(29037):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
E/AndroidRuntime(29037):        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
E/AndroidRuntime(29037):        at 
android.app.ActivityThread.access$600(ActivityThread.java:123)
E/AndroidRuntime(29037):        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
E/AndroidRuntime(29037):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(29037):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(29037):        at 
android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime(29037):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(29037):        at 
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(29037):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime(29037):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime(29037):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(29037): Caused by: java.lang.NullPointerException
E/AndroidRuntime(29037):        at 
at.dasz.KolabDroid.ContactsContract.EditContactActivity.bindTo(EditContactActivi
ty.java:187)
E/AndroidRuntime(29037):        at 
at.dasz.KolabDroid.ContactsContract.EditContactActivity.onCreate(EditContactActi
vity.java:96)
E/AndroidRuntime(29037):        at 
android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime(29037):        at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime(29037):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
E/AndroidRuntime(29037):        ... 11 more

Original comment by apkd...@gmail.com on 18 Aug 2013 at 3:47