cubicweb #2498164 crash while ldapfeed is syncing [validation pending]

2012-09-28 17:34:53 - (cubicweb.sources.ldap) INFO: pulling data from ldaps://XS206204.melinda.local:50001
2012-09-28 17:34:53 - (cubicweb.appobject) WARNING: processing ldapfeed stuff <ldap LDAPFeedSource source 8391 @0x4499bd0> (...)
2012-09-28 17:34:53 - (cubicweb.appobject) WARNING: fetched user {...}
2012-09-28 17:34:53 - (cubicweb.sources.ldap) ERROR: error while processing ldaps://XS206204.melinda.local:50001: u'uid'
Traceback (most recent call last):
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\server\sources\datafeed.py", line 221, in process_urls
if parser.process(url, raise_on_error):
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\sobjects\ldapparser.py", line 47, in process
entity = self.extid2entity(userdict['dn'], 'CWUser', **userdict)
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\server\sources\datafeed.py", line 324, in extid2entity
sourceparams=sourceparams)
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\server\repository.py", line 1158, in extid2eid
session, extid, etype, eid, sourceparams)
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\server\sources\datafeed.py", line 250, in before_entity_insertion
sourceparams['parser'].before_entity_copy(entity, sourceparams)
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\sobjects\ldapparser.py", line 102, in before_entity_copy
self.ldap2cwattrs(sourceparams, entity.cw_edited)
File "C:\DATA\workspace\projects\cu_2_1\cubicweb\sobjects\ldapparser.py", line 95, in ldap2cwattrs
tdict[tattr] = sdict[sattr]
KeyError: u'uid'
2012-09-28 17:34:53 - (cubicweb.sources.ldap) WARNING: some error occured, don't attempt to delete entities

prioritynormal
typebug
done in3.15.5
load left0.000
closed by#76bcfb3c483d [ldapparser] raise specific error if the configuration is wrong (closes #2498164)