question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alternate Exchange Mailbox Categories Not Populating

See original GitHub issue

OGCS Version: v2.8.1.0 Installed or Portable: Installed

Problem Description
Hi there – I’ve written about this before here: “Categories of alternative mailbox #335

I believe I had everything sorted per my cobbled-together fix, which I discussed in prior thread. However, with the Alpha upgrade to 2.8.1, things went awry, and now my workaround no longer works! So, back to the drawing board with the original issue: when I switch from “Default” to “Alternative” mailbox for Outlook, the Calendars populate properly, but the Category Names persist with those in my default account. Even when including all Category Names in the sync, including “No Category Assigned”, something weird is happening: those events with Category Names that don’t show up in the Alternate Calendar category list simply don’t sync. And that’s where my workaround previously worked – I just changed the name of the category to match in the XML code.

Also, this is a shared Exchange calendar, but it functions as an alternative calendar, so not sure why it’s acting funky.

And one more thing: not sure if it matters, but this is the second instance of OGCS that is running.

Steps to Reproduce the Issue

  1. Open OGCS.
  2. Change Outlook mailbox from “Default” to “Alternative”
  3. Wait for Calendars to populate.
  4. By Default, the primary “Calendar” mailbox is selected.
  5. No change in Category Name list.

Any other information
OGCS log attached.

But here is the relevant portion of the log:

2019-09-09 09:31:45,253 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] -  Finding Alternative Mailbox calendar folders
2019-09-09 09:31:46,922 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] -  Default Calendar folder: Calendar
2019-09-09 09:31:46,938 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] -  Folder type: olExchangeMailbox
2019-09-09 09:31:46,938 WARN  1 OutlookGoogleCalendarSync.OutlookOgcs.Categories [0] -  Failed getting non-default mailbox categories. Object reference not set to an instance of an object.
2019-09-09 09:31:46,938 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.Categories [0] -  Reverting to default mailbox categories.
2019-09-09 09:31:46,954 INFO  1 OutlookGoogleCalendarSync.OutlookOgcs.ExplorerWatcher [0] -  Setting up Explorer event watchers.
2019-09-09 09:31:46,954 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.ExplorerWatcher [0] -  Watcher needed for 1 existing explorers.
2019-09-09 09:31:46,954 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.ExplorerWatcher [0] -  Adding listener for Explorer 'INIR - Calendar - INIR - Outlook'
2019-09-09 09:31:46,954 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] -  Refreshing categories...
2019-09-09 09:31:46,969 WARN  1 OutlookGoogleCalendarSync.OutlookOgcs.Categories [0] -  Failed getting non-default mailbox categories. Object reference not set to an instance of an object.
2019-09-09 09:31:46,969 DEBUG  1 OutlookGoogleCalendarSync.OutlookOgcs.Categories [0] -  Reverting to default mailbox categories.
2019-09-09 09:31:49,730 INFO  1 OutlookGoogleCalendarSync.Settings [0] -  Saving settings.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:35 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
mcfibbcommented, Oct 21, 2019

You. Are. A. Genius. IT WORKS!

THANK YOU THANK YOU THANK YOU THANK YOU.

Frankly, my wife thanks you too. The whole reason for needing this set up is that my work won’t allow sharing/syncing of calendars to non-company accounts, but my wife and I need to coordinate when I’m working onsite vs offsite (which is what my team uses the alternate calendar for). So syncing alternate calendar events with just my category to an external Google calendar that I can share with my wife has been super helpful.

So, thank you so, so much!

1reaction
mcfibbcommented, Apr 29, 2022

My best guess is human error. If it happens again though, I’ll let you know!

Thanks!

On Sat, Apr 23, 2022 at 7:55 AM Paul Woolcock @.***> wrote:

I’m not quite sure I understand what that last problem was - is “I think the the main calendar didn’t load when I setup the second profile.” a bug with OGCS or just human error when configuring the second Profile?

Sounds like I can roll the categories fix into the next release though!

— Reply to this email directly, view it on GitHub https://github.com/phw198/OutlookGoogleCalendarSync/issues/832#issuecomment-1107516085, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIA5CGAUVKE6M7XKPYFMMTVGQFPFANCNFSM4IU5PRRA . You are receiving this because you were mentioned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Categories not updating in shared inbox folder.
I am in a shared inbox with multiple people at my work and we use categories on emails that come in, regularly.
Read more >
Failed retrieving non-default mailbox categories · Issue #817
So I am not able to select wich category I want to sync. ... Alternate Exchange Mailbox Categories Not Populating #832.
Read more >
Adding an additional or shared mailbox from the same ...
Having a mailbox connected as both a Shared Mailbox and as an additional account is not supported and causes a variety of issues....
Read more >
Outlook Categories, Flags, and IMAP Accounts
The IMAP protocol doesn't support the Category and Flag properties on messages and assigned categories and flags are not synced back to the...
Read more >
Outlook 2010 Unable to Categorize Messages
From your Inbox click the Category column to set the Quick Click category to red, the only option there is. · Double click...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found