Ticket #63 (new Defect)
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
Note: See
TracTickets for help on using
tickets.
