Ticket #1198 (closed defect: wontfix)

Opened 14 years ago

Last modified 14 years ago

CPSBase.CPSBaseBTreeFolder doesn't not implement IOrderSupport

Reported by: rspivak Owned by: fguillaume
Priority: P2 Milestone: CPS 3.4.0
Component: CPSCore Version: TRUNK
Severity: normal Keywords:


Making unit test i ran into trouble calling getObjectPosition method on btree based Workspace object, it found the method by aqcuisition in root workspace, but produced ValueError? as it was listing object ids from root workspace, not from context where it was called. Though this works in running portal, but obviously is a bug.

Change History

comment:1 Changed 14 years ago by fguillaume

Object position doesn't make sense for BTrees.

You didn't say what code was the problem. Yours or some code in CPS?

comment:2 Changed 14 years ago by rspivak

  • Status changed from new to closed
  • Resolution set to wontfix

It was in my code, in unit test. But you are right, it doesn't make sense for btree as it's always ordered.

comment:3 Changed 14 years ago by jmorliaguet

or rather there is no notion of order in a btree

Note: See TracTickets for help on using tickets.