Hi,

I use CPSLDAPSetup with CPS-3.4.4 python-2.4.4 and Zope-2.9.7-final.

When I want to create a new member in member's directory i got an error =>
"KeyError: 'cpsGroups'

I check the code, and i know why there is this bug:
1) when MetaStorageAdapter's _setData method is called, the method
_setDataDoProcess do the correct stuff with cpsRoles and cpsGroups fields.
2) after that, the StackingStorageAdapter's _setData method is called. This
time the _setDataDoProcess is called again, but the fields cpsGroups and
cpsRoles are not in data dictionary anymore. Then we have an error with
"value = data[field_id]" when field_id is cpsRoles or cpsGroups.

Which is the best solution ? I guess a simple test is not enough ?

Thanks.

--
Nicolas Clain
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to