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

Comment(by eba...@…):

 Replying to [comment:1 eba...@…]:
 > 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
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev

Reply via email to