[Zope3-Users] Vocabulary with objects and persistence problem

NYLAN at gmx.net NYLAN at gmx.net
Sat Apr 4 04:05:03 EDT 2009


I've checked everything. There are no error messages and transaction seems to comit fine.

Does a way exist to trace a transaction?

Best regards

-------- Original-Nachricht --------
> Datum: Fri, 03 Apr 2009 11:14:30 -0400
> Von: "Warner, Christopher" <christopher.warner at nymag.com>
> An: Nylan <Nylan at gmx.net>, Zope3-users <zope3-users at zope.org>
> Betreff: Re: [Zope3-Users] Vocabulary with objects and persistence problem

> Are you sure the transaction commit isn't failing in some way?
> 
> -- 
> Christopher Warner
> Manager, Content Management Systems
> New York Media | 75 Varick St, 4th Fl
> New York, NY 10013
> phone: 212.508.0542
> cell: 646.334.6780
> 
> 
> 
> On 4/3/09 11:08 AM, "Nylan" <Nylan at gmx.net> wrote:
> 
> > Hello,
> > I'm having some weird problem using objects references in a vocabulary.
> > 
> > Following situation:
> > Container A -  Objects type X
> > Container B -  objects type Y with zope.schema.Choice based on
> vocabulary of
> > objects X
> > 
> > After deleting object X1 in container A and removing
> > manually(ObjectRemovedEvent
> > iterating container B, removing reference and transaction.commit) the
> > reference
> > in object Y, X1 doesn't show up and everything looks fine.
> > 
> > After restarting zope i get a LookupError. Object Y has again a
> reference to X
> > in the list.
> > 
> > It happens only when deleting some object X referenced in Object Y.
> Changing
> > other attributes of Object Y works fine.
> > 
> > Do i miss something?
> > 
> > Best regards!
> > 
> > Nylan
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Zope3-users mailing list
> > Zope3-users at zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a


More information about the Zope3-users mailing list