Control_Panel.Products persists .home attribute in zodb and won't refresh if Data.fs moved elsewhere
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zope 2 |
Undecided
|
Unassigned |
Bug Description
see thread http://
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.
Tres Seaver (tseaver) wrote : Re: [Bug 205467] [NEW] Control_Panel.Products persists .home attribute in zodb and won't refresh if Data.fs moved elsewhere | #1 |
Hanno Schlichting (hannosch) wrote : | #2 |
You can today disable the product section completely, by using "enable-
Changed in zope2: | |
status: | New → Fix Released |
-----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-----