Re: Transaction successful, but changes not pushed to disk (was) Reg. persisting data in ZODB via forms

Joe Steeve <[email protected]>
Newsgroups gmane.comp.web.zope.bluebream,gmane.comp.web.zope.devel
Organization HiPro IT Solutions Pvt. Ltd.
Message-ID <1307530834.2040.38.camel@lark>
On Wed, 2011-06-08 at 15:23 +0530, Joe Steeve wrote:
> I would have been happy if the transaction failed completely. But, it
> had not. The transaction was successful. Subsequent requests on the
> same object show that the previous modifications are intact. The
> object's changes just did not make it to the disk. 

Found the issue. The problem was with our code. The content class was
not derived from persistent.Persistent. Fixing that fixed the problem.

Thanks guys :)

-- 
Joe Steeve
HiPro IT Solutions Pvt. Ltd.
http://hipro.co.in/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk3vVlEACgkQ6FrXDx3swEPp+ACfY9j/Zx+tIXFcZlKRdd5VEjpk
BigAmgPNqQsc99s9rgh5I7ywdY5YiCt+
=I3fF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.