[Nuxeo-tickets] [Nuxeo Repository] #1750: Wrong ordering in navigation portlets relying on treecaches

Nuxeo Repository trac at nuxeo.com
Fri Sep 29 11:09:21 CEST 2006


#1750: Wrong ordering in navigation portlets relying on treecaches
----------------------+-----------------------------------------------------
 Reporter:  gracinet  |       Owner:  fguillaume
     Type:  defect    |      Status:  new       
 Priority:  P2        |   Milestone:  CPS 3.4.3 
Component:  CPSCore   |     Version:  TRUNK     
 Severity:  minor     |    Keywords:  Tree      
----------------------+-----------------------------------------------------
 This is supposed to bring up all sections up to depth n, in ZODB ordering:

 {{{
 portal_trees.sections.getList(start_depth=1, stop_depth=n)
 }}}

 But the result seems to be ordered by id (or rpath). On the other hand the
 following call works as expected.
 {{{
 portal_trees.sections.getList(stop_depth=n)
 }}}

 This looks like a really funny side-effect type bug.

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1750>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.