[Zope] Duplicated keys in a BTreeFolder2

Stefan H. Holek stefan at epy.co.at
Thu Aug 7 22:23:03 EDT 2003


Just a guess but do you have a bare 'except:' somewhere in your code that 
is masking eventual ConflictErrors?

Stefan


--On Donnerstag, 07. August 2003 10:11 +0200 Thierry Florac 
<thierry.florac at onf.fr> wrote:

> I currently use a custom subclass of BTreeFolder2 to store my site's
> users  profiles (currently 3700).
>
> I've noticed several problems :
>  - several keys (= user ids) are duplicated in this folder ; in the ZMI,
> these  duplicated keys appear at the start of the list, unordered.
>  - some keys are duplicated more than once ; if I try to delete one of
> them,  the other duplicated keys are kept and can't be deleted, because
> the object  doesn't exist !!!
>  - if I try to cut a duplicated object and paste it into another folder,
> I  receive an error message, saying that I'm trying to paste an object
> from a  foreign database connection !!!
>


--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.               /Pete McBreen/



More information about the Zope mailing list