[CalendarServer-dev] [CalendarServer] #335: Search via email address in cachingappleopendirectory fails

CalendarServer trac at macosforge.org
Sun Apr 26 13:39:40 PDT 2009


#335: Search via email address in cachingappleopendirectory fails
------------------------------+---------------------------------------------
 Reporter:  ebach2@…          |       Owner:  wsanchez@…        
     Type:  Defect            |      Status:  new               
 Priority:  1: Blocker        |   Milestone:                    
Component:  Calendar Server   |    Severity:  Serious           
 Keywords:                    |  
------------------------------+---------------------------------------------

Comment(by ebach2@…):

 Replying to [comment:1 ebach2@…]:
 > Adding debug log of event

 To follow up, in
 cachingappleopendirectory.OpenDirectoryService.queryDirectory(), it
 catches an exception from the query:

         except opendirectory.ODError, ex:
             if ex.message[1] == -14140 or ex.message[1] == -14200:
                 # Unsupported attribute on record - don't fail
 [I added this debug line]
                 self.log_debug("opendirectory.queryDirectory unsupported
 attribute on record - don't fail %s" % (ex.message[1],))
                 return

 When I re-rerun everything, this logs:
 2009-04-26 13:35:45-0700 [-] [caldav-8010]  [-]
 [twistedcaldav.directory.cachingappleopendirectory.OpenDirectoryService#debug]
 opendirectory.queryDirectory unsupported attribute on record - don't fail
 -14200

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


More information about the calendarserver-dev mailing list