[BlueBream] can't persist

Christophe Combelles ccomb at free.fr
Wed Jun 30 15:11:15 EDT 2010

Le 30/06/2010 20:31, Jim Pharis a écrit :
> I'm trying out BlueBream 1.0b2 and I'm running into a problem with
> Persistent objects. The installation is pretty out of the box at this
> point. When I use .\bin\paster shell debug.ini I seem to be able to
> create Persistent objects and transaction.commit and changed objects are
> properly committed. However, when I start using either .\bin\paster
> serve debug.ini or .\bin\paster serve deploy.ini, no matter what I do to
> Persistent objects transaction.commit() returns None. I noticed that
> even if I directly set obj._p_changed=1 it doesn't work, and if I look
> at _p_changed right away, I see its been reverted back to False. What am
> I doing wrong here?


transaction.commit() is not supposed to return anything, don't you see the 
changes in your application after ending the debug session and returning to the 
paster serve ?


> TIA,
> - Jim
> _______________________________________________
> bluebream mailing list
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream

More information about the bluebream mailing list