Ticket #1927 (new defect)

Opened 11 years ago

searchEntry with no filter doesn't return anything but ids

Reported by: gracinet Owned by: madarche
Priority: P2 Milestone: CPS 3.5.7
Component: CPSDirectory Version: TRUNK
Severity: normal Keywords:
Cc:

Description

This

   the_dir._searchEntries(return_fields=['f1', 'f2'])

Should return tuples of entry id, and a dict for fields f1 and f2. The dict is missing. Happens with '*' for return_fields as well, but not for a filter having the effect to return all entries as well, like this one:

   the_dir._searchEntries({f0 : '*'}, return_fields=['f1', 'f2'])

BTW, this should not match all entries, as I've explained many times.

Tested on a ZODB directory, if that matters.

Note: See TracTickets for help on using tickets.