#305: Apache directory service types broken?
------------------------------------+---------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  [EMAIL PROTECTED]
     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
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev

Reply via email to