[CalendarServer-dev] [CalendarServer] #305: Apache directory service types broken?
CalendarServer
trac at macosforge.org
Sat Sep 20 18:52:42 PDT 2008
#305: Apache directory service types broken?
------------------------------------+---------------------------------------
Reporter: msantos at santosland.com | Owner: wsanchez at apple.com
Type: Defect | Status: new
Priority: 5: Not set | Milestone:
Component: Calendar Server | Version: trunk
Severity: Crash/data loss | Keywords:
------------------------------------+---------------------------------------
It appears that the Apache directory service types are broken. Code in
udpateDirectoryService() in config.py seems to be trying to validate the
directory service parameters from the config file against the known
keywords, but there is no entry for them in serviceDefaultParams[], so the
code takes a KeyError exception at this line:
if param not in serviceDefaultParams[dsType]:
because dsType is twistedcaldav.directory.apache.DigestDirectoryService,
but the list in config.py only has entries for:
twistedcaldav.directory.xmlfile.XMLDirectoryService
twistedcaldav.directory.appleopendirectory.OpenDirectoryService
Maybe that list is supposed to be updated somewhere else (from
apache.py?), but I couldn't find any such place.
--
Ticket URL: <http://trac.calendarserver.org/ticket/305>
CalendarServer </>
HTTP/WebDAV/CalDAV Server
More information about the calendarserver-dev
mailing list