Page 1 of 1

Added a new Filtered Calendar for Google, now original will

PostPosted: Tue Apr 12, 2011 8:43 am
by Tim Anderson
Hi John,

Sorry - I'm sure this is something simple.

We have had a Goggle Calendar sync working beautifully for a while (auto sync) and so the client wanted to add another. The original was filtered with say value 'x'. There was an account created that limited access to records matching 'x' and this account was used to sync with the google calendar.

The new calendar filters on 'y', so I duplicated the record in the calendar list, changed 'x' to 'y' and deleted the zulu_uuid. I then duplicated the privilege set for the first calendar, changing 'x' to 'y' and created a new account that used this privilege set.

I checked to make sure end dates were not before start dates and that there was an entry in the zuluSummary field.
My client then setup the new FileMaker/Google accounts to synchronise and tried a manual sync. It failed.

I have had a look and it seems the issue is with the original pairing not the new one!

The error I am getting is

Sync failed: java.lang.RuntimeException: Failure while getting list of changes from GoogleCalendarNode:[email protected]: java.lang.NullPointerException

The catalina log shows that it has created, or tried to create, an empty SyncJoin for the new pairing, but the file does not actually get created, presumably because the sync fails before it starts on that pairing.

What have I done?

thanks

Tim

Re: Added a new Filtered Calendar for Google, now original w

PostPosted: Tue Apr 12, 2011 9:03 am
by Tim Anderson
Aargh,

also causing an error in iCal

Request for accout "xxx" failed.
The server responded with "HTTP/1.1 500Server error" to operation CalDAVAccountRefreshQueueableOperation

Re: Added a new Filtered Calendar for Google, now original w

PostPosted: Tue Apr 12, 2011 9:34 am
by JasonYoung
Hey Tim,

You don't want to delete the UUID from the duplicated calendar, you just want to alter it a bit. I usually just take the last digit from another calendar and increment it by one. It just has to be unique.

We have some info on this here in the "Creating Additional Filtered Calendars: Duplicating Calendars" section

http://www.seedcode.com/pmwiki/pmwiki.p ... .Filtering


I think at this point all you have to do is to populate the UUID in your new calendarlist record, and everything should right itself.

Let me know if that solves it,
-Jason

Re: Added a new Filtered Calendar for Google, now original w

PostPosted: Tue Apr 12, 2011 10:18 am
by Tim Anderson
Thanks John,

That was it - was being mislead by the implication the error was with the original calendar.

iCal is almost sorted now too - calendar is there but no events showing - think it must be to do with the filtering but all looks ok. Will sort that

Thanks again John

Tim