[Zope] Duplicated keys in a BTreeFolder2

Thierry Florac thierry.florac at onf.fr
Fri Aug 8 09:52:15 EDT 2003


On Thursday 07 August 2003 21:23, Stefan H. Holek wrote:
> Just a guess but do you have a bare 'except:' somewhere in your code that
> is masking eventual ConflictErrors?

I don't think so...
My script is called by "index_html" for every loaded page ; all exceptions are 
actually handled by "standard_error_message", and I never got any 
"ConflictError" raised.


  Thierry


P.S.: I'll be out of my office for three weeks since this evening, and so 
won't be able to provide further informations to you about this problem 
before September 1.


> --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 !!!




More information about the Zope mailing list