#305: Apache directory service types broken?
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED]
Type: Defect | Status: assigned
Priority: 5: Not set | Milestone:
Component: Calendar Server | Severity: Crash/data loss
Resolution: | Keywords:
-------------------------------------+--------------------------------------
Old description:
> Hi Winfredo,
> the patch in the BTS
New description:
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.
--
Comment(by [EMAIL PROTECTED]):
Replying to [ticket:305 [EMAIL PROTECTED]:
> Hi Winfredo,
> the patch in the BTS
--
Ticket URL: <http://trac.calendarserver.org/ticket/305#comment:3>
CalendarServer </>
HTTP/WebDAV/CalDAV Server
_______________________________________________
calendarserver-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev