Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #137 (new Defect)

Opened 6 years ago

Last modified 6 months ago

Unable to REPORT on ICS filenames with a Colon

Reported by: tylerkeating@… Owned by: cdaboo@…
Priority: 3: Important Milestone: Later
Component: Calendar Server Severity: Serious
Keywords: Cc: kurt.leubner@…
Port:

Description

When attempting to REPORT on a file with a colon in the name, an error occurs. This may affect other special characters as well. Example:

2007-04-11 10:52:00-0600 [-] [caldav-8082] [HTTPChannel,4,127.0.0.1] PUT /calendars/users/keating/calendar/2007-04-11T10:52:00-0600_822729681.ics HTTP/1.1
2007-04-11 10:52:00-0600 [-] [caldav-8082] [-] Writing to file /Users/admin/Developer/Collaboration/CalendarServer/data/calendars/users/keating/calendar/2007-04-11T10:52:00-0600_822729681.ics

2007-04-11 10:52:01-0600 [-] [caldav-8082] [HTTPChannel,7,127.0.0.1] REPORT /calendars/users/keating/calendar/ HTTP/1.1

2007-04-11 10:52:01-0600 [-] [caldav-8082] [-] Exception rendering:
2007-04-11 10:52:01-0600 [-] [caldav-8082] [-] Unhandled Error
2007-04-11 10:52:01-0600 [-] [caldav-8082] Traceback (most recent call last):
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/internet/defer.py", line 239, in callback
2007-04-11 10:52:01-0600 [-] [caldav-8082] self._startRunCallbacks(result)
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/internet/defer.py", line 304, in _startRunCallbacks
2007-04-11 10:52:01-0600 [-] [caldav-8082] self._runCallbacks()
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/internet/defer.py", line 317, in _runCallbacks
2007-04-11 10:52:01-0600 [-] [caldav-8082] self.result = callback(self.result, *args, kw)
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/internet/defer.py", line 601, in gotResult
2007-04-11 10:52:01-0600 [-] [caldav-8082] _deferGenerator(g, deferred)
2007-04-11 10:52:01-0600 [-] [caldav-8082] --- <exception caught here> ---
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/internet/defer.py", line 576, in _deferGenerator
2007-04-11 10:52:01-0600 [-] [caldav-8082] result = g.next()
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/CalendarServer/twistedcaldav/method/report.py", line 131, in http_REPORT
2007-04-11 10:52:01-0600 [-] [caldav-8082] yield d.getResult()
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/internet/defer.py", line 555, in getResult
2007-04-11 10:52:01-0600 [-] [caldav-8082] self.result.raiseException()
2007-04-11 10:52:01-0600 [-] [caldav-8082] File "/Users/admin/Developer/Collaboration/Twisted/twisted/python/failure.py", line 303, in raiseException
2007-04-11 10:52:01-0600 [-] [caldav-8082] raise self.type, self.value, self.tb
2007-04-11 10:52:01-0600 [-] [caldav-8082] exceptions.AssertionError: Calendar 2007-04-11T10%3A52%3A00-0600_822729681.ics is missing from calendar collection <CalDAVFile (calendar collection): /Users/admin/Developer/Collaboration/CalendarServer/data/calendars/users/keating/calendar>

Change History

comment:1 Changed 6 years ago by wsanchez@…

  • Owner changed from wsanchez@… to cdaboo@…
  • Milestone set to Preview 1

comment:2 Changed 6 years ago by wsanchez@…

  • Milestone changed from Preview 1 to Version One

comment:3 Changed 6 years ago by wsanchez@…

  • Milestone changed from 1.0 to 1.1

comment:4 Changed 5 years ago by wsanchez@…

  • Milestone changed from 1.1 to 1.2

comment:5 Changed 5 years ago by wsanchez@…

  • Milestone changed from 1.2 to 1.x

comment:6 Changed 5 years ago by wsanchez@…

  • Milestone changed from 1.x to 2.x

comment:7 Changed 3 years ago by wsanchez@…

  • Milestone changed from CalendarServer-2.x to Later

comment:8 Changed 6 months ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

comment:9 Changed 6 months ago by kurt.leubner@…

  • Cc kurt.leubner@… removed

Cc Me!

comment:10 Changed 6 months ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

Note: See TracTickets for help on using tickets.