At one point this was working fine but sometime in the last 7 months or so it stopped working and I am baffled as to why. Here is the scenario: I have a calendar view which returns events. These events are associated with organic groups. The calendar view (which is working fine) has a contextual filter (OG membership: Group ID) In a nutshell I can pass in as many group nids as I want and it gives me a calendar display of the events for all of the supplied groups.

As I said, this works fine. However, the corresponding iCal feed attached to this view (which is set up with the same exactly contextual filter configuration) was working but no longer works. I was running date_ical 7.x-3.3 when I first noticed the problem so I tried upgrading to 7.x-3.5 but that didn't fix the problem. I am running iCalcreator 2.20.2 and have been since maybe 9 months ago. It was definitely working when I first upgraded to that version of iCalcreator.

I'm at a loss. In views in the preview if I pass in a single group nid it works, but anything more than one fails. I've verified that the field is set up to accept multiple values but no dice. I am at a loss.

Views: 7.x-3.11
Date: 7.x-2.8
Calendar: 7.x-3.5
Date iCal: 7.x-3.5
iCalcreator 2.20.2

Comments

CopperBot created an issue. See original summary.

coredumperror’s picture

When you say "anything more than one fails", what exactly do you mean by "fail"? It doesn't filter correctly? The iCal feed entirely fails to render? Your server spontaneously transforms into a pony?

It's possible that something I changed somewhat recently is the issue, so I'd suggest downgrading to Date iCal 7.x-3.0. If that fixes it, I'll look into all the changes I've made since then to see what could possibly be causing the failures. If that doesn't fix it, I would hazard a guess that something else is messing with the process, and it probably isn't Date iCal's fault.

Also, don't upgrade past iCalcreator 2.20.2. That's the last version that Date iCal supports, because the author of iCalcreator made a backwards-incompatible change in the subsequent update.

JayDarnell’s picture

Sorry for the vague description. If I supply more than one value in the contextual filter the only output I get is:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Date iCal v3.5//NONSGML kigkonsult.se iCalcreator 2.20.2//
METHOD:PUBLISH
X-WR-CALNAME;VALUE=TEXT:Class Calendar
END:VCALENDAR

Essentially no records. Now interestingly enough I have started recreating this broken feed from scratch and so far the new one is working so that confuses me even more. I'm going through every setting and making sure they match. If I find a difference I'll report back but thus far it appears my old iCal feed just decided "I'm too old for this" and gave up.

I'll report back with more information if I identify the specific view setting that was breaking the output or if downgrading to 7.x-3.0 fixes it.

JayDarnell’s picture

I believe we can close this bug report. It looks as if the problem is not with date_iCal but possibly with organic groups. The validation criteria was set to validator = OG group. When this is removed the results display. I'll fill out a bug report there. Sorry about that!

coredumperror’s picture

Status: Active » Closed (works as designed)

No worries. When it comes to Drupal, tracking down the real source of an issue is not always the easiest feat to accomplish.