• Wasn’t sure if I should post this here or over in the ICAL Extension forum, but there didn’t seem to be much happening over there…

    So I have a client on whose site we’re using the ICAL Extension that is syncing with a Google Calendar. The client contacted me today and said that one recurring event scheduled to start in January has the wrong venue. For the sake of this post I’ll call the venue “Jack & Jill’s House”

    I downloaded the .ics feed, opened it in Notepad++, found the event in question, and saw that the feed had the correct location listed.

    I then went into the list of venues in Event Organiser and saw that the slug for this venue was listed as “jack-jills-house,” with the “&” removed from the slug.

    Looking back at the .ics feed, I noticed that the event just before this one in the feed had the venue that this event was showing on the website instead of its own venue.

    My conclusion is that EO created a venue for this location and removed the “&” symbol. Then on successive syncs it couldn’t match the location in the feed with the venue in EO because the “&” was missing, so it decided to display the location/venue that was just before this in the feed.

    My advice to the client was to change the location in Google Calendar by removing the “&”, and using “and” instead. When they did this, that event showed the correct venue in EO.

    http://ww.wp.xz.cn/plugins/event-organiser/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Hi John,

    Thanks I looked into this and there is a bug (in both core and iCal sync). The slug is correct in that it’s missing the ‘&’, the bug was in that when checking if a venue already exists, it searched for terms with the name “Jack & Jill’s, and not (as it should) “Jack & Jill’s House”. The importer then thinks that the venue doesn’t exist and so attempts to create it, but prior to creating the venue WordPress checks (correctly) if the term exists – which it does, so it doesn’t create a new term. The result is that the imported event doesn’t have a venue associated to it.

    This bug exists in the iCal sync add-on as well as the core plug-in with the manual import. I’ll be releasing updates fixes these issues.

    R.e. which forums to use: always use the forums at http://wp-event-organiser.com/forums – they have priority for me, and are checked far more regularly – I only answer questions here if/when I have the time. (The iCal sync forums are very quiet and currently the only post was followed up via e-mail).

    Thread Starter John Sundberg

    (@bhwebworks)

    Stephen,

    Thanks for squashing that bug! I’ll try to remember to use the other forums if anything comes up in the future.

    John

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Probable Bug – ICAL sync doesn't recognize venue with "&"’ is closed to new replies.