Matt wrote:
> Public bug reported:
>
> see thread http://groups.google.com/group/plone-
> developers/browse_thread/thread/7421a5f112fc69ee
>
> initializeProduct of http://svn.zope.org/Zope/tags/2.10.5/lib/python/App/Product.py?rev=81177&view=markup
> seems to be the culprit here. The home attribute is only updated if a product version is updated. If you move a Data.fs to another zope instance with a different software home, then the home attribute does not update itself. The CMFQuickinstaller uses this home attribute to determine the version of the software on the filesystem, and so breaks in this scenario.
A better workarounc would be to delete all objects from
/Control_Panel/Products/manage_main after moving the site, and then
restart the appserver: they get recreated on startup if they don't
exist. I would argue that the real bug is storing *any* information in
the ZODB about filesystem products, BTW, which happens only to support
the use of "lever" or "ZClass" proeducts, which are stored there.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 <email address hidden>
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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt wrote: groups. google. com/group/ plone- browse_ thread/ thread/ 7421a5f112fc69e e svn.zope. org/Zope/ tags/2. 10.5/lib/ python/ App/Product. py?rev= 81177&view= markup
> Public bug reported:
>
> see thread http://
> developers/
>
> initializeProduct of http://
> seems to be the culprit here. The home attribute is only updated if a product version is updated. If you move a Data.fs to another zope instance with a different software home, then the home attribute does not update itself. The CMFQuickinstaller uses this home attribute to determine the version of the software on the filesystem, and so breaks in this scenario.
A better workarounc would be to delete all objects from Panel/Products/ manage_ main after moving the site, and then
/Control_
restart the appserver: they get recreated on startup if they don't
exist. I would argue that the real bug is storing *any* information in
the ZODB about filesystem products, BTW, which happens only to support
the use of "lever" or "ZClass" proeducts, which are stored there.
Tres. ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
- --
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFH5kV2+ gerLs4ltQ4RAg9u AKDIQNOfxo9ywhu NoAH7k+ MucmurpQCfZjEx R7IsBzGg=
lYLHOhwQFxmBC6W
=FUO6
-----END PGP SIGNATURE-----