Author Topic: Calendar sync issue  (Read 1428 times)

chumley

  • Newbie
  • *
  • Posts: 12
Calendar sync issue
« on: May 16, 2018, 04:31:45 am »
Environment:
- Samsung Galaxy Note 4 with stock MM 6.0.1, not rooted
- Samsung stock calendar app 2.5.36
- AM 1.15.0-916
- Office 365 account setup AM only (not in system accounts)
- Contact, calendar and email sync are all disabled for my google account

Initial setup (clean state):
1) Disable all calendar syncing (in AM and system accounts)
2) Clear data for calendar app and calendar storage (via system app manager)
3) Reboot phone
4) Open calendar app and verify that calendar is empty

Enable calendar sync in AM:
1) Enable exchange calendar sync in AM
2) Wait for sync to occur
3) Verify that calendar data is displayed in Samsung calendar app

So far so good, but ...

Problem 1: Strange behavior when trying to select calendars to display
1) In calendar app, try to select O365 calendar as only one to display
2) * The app seems to "struggle" with this. Sometimes the selections revert after I change them.
3) If I'm persistent, I can eventually get the desired calendar selections to stick.

Problem 2: Strange behavior when trying to select calendar for new event
1) In Samsung calendar, try to add new event.
2) In the Add Event window, my google account is selected by default as the destination calendar
3) Tap to change the destination calendar, select my O365 calendar.
4) * The change appears to not be accepted in the dialog, but if I back out of the dialog then the desired calendar is selected.
5) Type in a few event details and save the event
6) Verify that new event is displayed in calendar app

Problem 3: Calendar app always crashes when trying to add a 2nd event
1) * In the calendar app, try to add another event. The app crashes immediately.

Other relevant info:

- The problems described above is strictly repeatable.

- If I use a different calendar app such as Simple Calendar or Business Calendar, then the problems do not occur.

- If I go back to the clean state, then use Nine instead of AM to sync the calendar data, then then the problems do not occur, even when using the Samsung calendar app.

That last point is why I think this issue is worth investigating. If Nine can produce data that works with the Samsung app, then AM can too. :)  Please let me know how I can help to troubleshoot further.

Thanks

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12813
Re: Calendar sync issue
« Reply #1 on: May 18, 2018, 08:10:43 pm »
The "closest match" phone I have is a Samsung S6 Edge with Android 7 and Samsung Calendar 4.2.

I am not able to reproduce any of these issues you listed above.

---

Something that came up before on this forum, related to Samsung's Calendar app was --

-- it has (had?) trouble handling Exchange accounts that had more than about 7 or 9 "categories" (color labels) defined, it would crash if you tried to edit (or view?) an event.

As for "Aqua Mail vs. Nine".

Aqua Mail syncs per-event colors (Exchange categories), and to do this, it has to sync the account's list of available categories (colors).

So maybe that's what the difference is (and your third party Calendar apps don't have a bug related to colors / categories)?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

chumley

  • Newbie
  • *
  • Posts: 12
Re: Calendar sync issue
« Reply #2 on: May 19, 2018, 04:08:03 am »
Aha, you are right! I didn't realize it previously, but my Outlook/Exchange account had > 10 categories because there were a bunch of defaults. Even though I wasn't using the default categories, they still affected the operation. I reduced the number to 7, cleared and resync'd the calendar data, and all the problems went away. Added one more category to make a total of 8, cleared and resync'd the data, and the problems came back. So for my version of the Samsung calendar app, the max number of categories is 7. It seems to work fine with 7 or fewer categories.

I also figured out why I did not have any problems when using Nine to sync the calendar data. When the data is sync'd via Nine, the categories are displayed correctly inside of Nine's native calendar, but not in any other calendar app. It seems that Nine does not sync the category info to the native Android calendar storage. In contrast, if the data is sync'd by AM instead of Nine, then the category/color info is shown in all apps that support it. So AM actually seems to be doing a more thorough job of syncing the calendar data than Nine.

At this point I'm happy with calendar sync to Samsung calendar. No further action is needed.

In my testing, these apps do support calendar event categories/colors: Samsung calendar, Business Calendar, aCalendar. They show the event colors but not the names. Simple Calendar does not show the colors or names.



« Last Edit: May 19, 2018, 09:39:07 pm by chumley »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12813
Re: Calendar sync issue
« Reply #3 on: May 20, 2018, 03:40:32 pm »
Glad to hear it!

And just to be clear - categories / colors are a standard feature of Android "system" calendar storage, nothing "special" should be necessary for Samsung Calendar app, except it has that bug that you ran into.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

richardbarnes1

  • Newbie
  • *
  • Posts: 4
Re: Calendar sync issue
« Reply #4 on: July 12, 2019, 04:22:51 am »
So are you saying that with AM you are restricted to 7 categories?

My issue isnt with the Calendar, but with email list view in AM.
I cant get to see the category tags associated with the email, while in Nine i can.

I have been onto mobisystems support, and they have confirmed i should be able to.
They had me unsync calendar, kill the app and resync. But that didnt fix the problem.

Anyone else have issues with this?