Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #63 (new Defect)

Opened 4 years ago

Last modified 10 months ago

isPseudoCalendarCollection() and isCalendarCollection() used on possibly non CalDAVResource resources

Reported by: cdaboo@… Owned by: cdaboo@…
Priority: 2: Expected Milestone: CalendarServer-3.x
Component: Calendar Server Severity: Serious
Keywords: Cc:

Description

There are some uses of isPseudoCalendarCollection() and isCalendarCollection() that may operate on a resource that is not a CalDAVResource and hence does not implement that method (resulting in an unhandled exception): report_common.applyToCalendarCollections is one example. These need to be changed to use the generic (and resource type safe) isPseudoCalendarCollectionResource() or isCalendarCollectionResource().

Change History

Changed 4 years ago by cdaboo@…

PS This was seen when a client attempted a calendar report on the principal hierarchy.

Changed 4 years ago by wsanchez@…

  • milestone changed from CalDAV-access to Preview 1

Changed 3 years ago by wsanchez@…

  • milestone changed from Preview 1 to Version One

Changed 3 years ago by wsanchez@…

  • milestone changed from 1.0 to 2.0

Changed 10 months ago by wsanchez@…

  • milestone changed from CalendarServer-2.x to CalendarServer-3.x
Note: See TracTickets for help on using tickets.