Re: [Zope] database conflict error on startup - disabling Five
Dylan Jay wrote at 2008-12-1 10:22 +1100:
...
You are right. Almost surely, you see a "Five" bug: "Five", too, should respect "enable-product-installation".
You can see the right transaction handling in "OFS.Application.install_product' -- somewhere near the buttom of this function. Maybe, you correct "Five" accordingly.
I applied this guys patch which seems to have fixed the problem http://archives.free.net.ph/message/20080516.100305.16f90017.en.html
He's asking if that is the right way to patch it. Is it?
It looks not bad.
And if so what is the right way to get it into the Five 1.4 branch?
Write a bug report, attach the patch and for a quicker response inform a "Five" maintainer about the "bug+solution". I am not sure however, that this will be sufficient: "Zope 2.9" is no longer an actively maintained version; maybe the maintainers think there are more important tasks that to fix problems with older versions. -- Dieter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dieter Maurer wrote:
Dylan Jay wrote at 2008-12-1 10:22 +1100:
...
You are right. Almost surely, you see a "Five" bug: "Five", too, should respect "enable-product-installation".
You can see the right transaction handling in "OFS.Application.install_product' -- somewhere near the buttom of this function. Maybe, you correct "Five" accordingly. I applied this guys patch which seems to have fixed the problem http://archives.free.net.ph/message/20080516.100305.16f90017.en.html
He's asking if that is the right way to patch it. Is it?
It looks not bad.
And if so what is the right way to get it into the Five 1.4 branch?
Write a bug report, attach the patch and for a quicker response inform a "Five" maintainer about the "bug+solution".
I am not sure however, that this will be sufficient: "Zope 2.9" is no longer an actively maintained version; maybe the maintainers think there are more important tasks that to fix problems with older versions.
It is true that we are unlikely to make another 2.9.x release, absent a serious security bug. However, in Zope 2.9, the Five product was maintained as an SVN external: the branch currently points to: svn://svn.zope.org/repos/main/Products.Five/tags/1.3.11 I could certainly see shipping a 1.3.12 version of the product (or a 1.4.5), which people could then install in their $INSTANCE_HOME, overriding the one in $SOFTWARE_HOME. In fact, the changelog on the 1.4 branch seems to indicate that there is fix for the same problem already checked in. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJNDRq+gerLs4ltQ4RAjW7AJ0ccCbDcR4Qu0OA1U4ysYOh5Xzn9gCcDCl6 IsBWY1Rfod6g01zZDSoPfmk= =0JmR -----END PGP SIGNATURE-----
participants (2)
-
Dieter Maurer -
Tres Seaver