[CalendarServer-dev] [CalendarServer] #305: Apache directory service types broken?

CalendarServer trac at macosforge.org
Wed Oct 29 01:34:51 PDT 2008


#305: Apache directory service types broken?
-------------------------------------+--------------------------------------
  Reporter:  msantos at santosland.com  |       Owner:  wsanchez at apple.com
      Type:  Defect                  |      Status:  assigned          
  Priority:  5: Not set              |   Milestone:                    
 Component:  Calendar Server         |    Severity:  Crash/data loss   
Resolution:                          |    Keywords:                    
-------------------------------------+--------------------------------------

Old 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.

New description:

 Hi Winfredo,
 the patch in the BTS

--

Comment(by agx at sigxcpu.org):

 Hi Winfredo,
 the patch makes sense to me. Can it be applied?
  -- Guido

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/305#comment:2>
CalendarServer </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list