It raises an error when trying to apply the ftpcalender_view to a collection of events (i.e. TOPIC),
over a Plone 4.3.7 site:
As a consequence, the site shows the calendar without the events that compose the collection.
The error is listed bellow:
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module ftw.calendar.browser.calendarupdateview, line 80, in __call__
Module ftw.calendar.browser.calendarupdateview, line 23, in generate_json_calendar_source
Module ftw.calendar.browser.calendarupdateview, line 36, in get_event_brains
TypeError: queryCatalog() got an unexpected keyword argument 'REQUEST'
Surprisingly, the same error does not raise for TOPICs. Only for collection.
Besides, it works to apply the same view to a folder of events too.
It is supposed the error is in the 35-36 line of ftw.calendar/ftw/calendar/browser/calendarupdateview.py:
35 return self.context.aq_inner.queryCatalog(
36 REQUEST=self.request, **args)
For some reason, REQUEST seams not to be available when applying the view to collections.
It raises an error when trying to apply the ftpcalender_view to a collection of events (i.e. TOPIC),
over a Plone 4.3.7 site:
As a consequence, the site shows the calendar without the events that compose the collection.
The error is listed bellow:
Surprisingly, the same error does not raise for TOPICs. Only for collection.
Besides, it works to apply the same view to a folder of events too.
It is supposed the error is in the 35-36 line of ftw.calendar/ftw/calendar/browser/calendarupdateview.py:
For some reason, REQUEST seams not to be available when applying the view to collections.