Nuxeo mailing list archives
[Nuxeo-tickets] Re: [Nuxeo Repository] #1482: field_ignored is
ignored in MetaDirectory._searchEntries
Nuxeo Repository
trac at nuxeo.com
Tue Jun 13 16:46:37 CEST 2006
#1482: field_ignored is ignored in MetaDirectory._searchEntries
-----------------------------------+----------------------------------------
Reporter: gracinet | Owner: fguillaume
Type: defect | Status: new
Priority: P3 | Milestone: CPS 3.4.3
Component: CPSDirectory | Version: TRUNK
Severity: minor | Resolution:
Keywords: Metadirectory backing |
-----------------------------------+----------------------------------------
Comment (by gracinet):
Moreover, a search with a return_field belonging to one of the backings
returns all fields from this backing:
{{{
(Pdb) cpsdir.searchEntries(return_fields=['unavailableTill'])[0][1]
{'dn': 'uid=smanager,ou=people,dc=mysite,dc=net', 'uid': 'smanager',
'friendlyCountryName': 'France', 'skills': [], 'mailboxes': (),
'homeless': False, 'unavailableTill': None, 'last_login_time': None}
(Pdb) cpsdir.searchEntries(return_fields=['unavailableTill'])[0][1].keys()
['dn', 'uid', 'friendlyCountryName', 'skills', 'mailboxes', 'homeless',
'unavailableTill', 'last_login_time']
}}}
Meta comes from CPSLDAPSetup, one sees all the fields from the ZODB
Backing.
--
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1482>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository
More information about the Nuxeo-tickets
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.