I had some old folderish content from Plone 2.5 and when i tried to migrate this to Plone 4 it was not working correctly. I was getting
AttributeError: has_key
exceptions from Products.BTreeFolder. I also found this article describing this problem:
http://plone.org/documentation/error/nonetype-keys
but no clear solution.
It turns out that ATContentTypes 2.0 changes the ATFolder implementation to use BTreeFolder as the base class. Thankfully a migration view is provided called "migrate-btrees" that will migrate all the folderish items under the given path.
At the end I got a nice message in my log:
2010-05-31 22:23:35 INFO plone.app.folder.migration processed 3490 object(s) in 10.864s (10.640s cpu time)
Monday, May 31, 2010
Tuesday, May 25, 2010
Zopeskel/Paster created plone3_theme shows up without the "Plone default" css
This is by design.
"Plone default" does not mean the standard Plone look and feel. If you want that, you should use the "Plone Classic Theme" or the "Sunburst Theme" as the "Skin Base" which you will be prompted for if you use the "expert" mode of the wizard.
"Plone default" does not mean the standard Plone look and feel. If you want that, you should use the "Plone Classic Theme" or the "Sunburst Theme" as the "Skin Base" which you will be prompted for if you use the "expert" mode of the wizard.
Saturday, May 22, 2010
collective.MockMailHost
Here is a product that will help you with integration testing email notifications generated from your custom Plone add-on.
DO NOT install this on your running Plone site. Simply use this from your tests. If you are running Plone 4, just add this egg to the [test] runner section of your buildout rather than to the [instance].
The product egg is available from pypi. The source is in the collective svn repository.
Enjoy and do remember to give me some feedback!
DO NOT install this on your running Plone site. Simply use this from your tests. If you are running Plone 4, just add this egg to the [test] runner section of your buildout rather than to the [instance].
The product egg is available from pypi. The source is in the collective svn repository.
Enjoy and do remember to give me some feedback!
ImportError: <module 'setuptools.dist' from ...> has no 'check_packages' attribute
This error when you run buildout can be solved by upgrading setuptools as follows:
(plone3) $ easy_install -U setuptools
(plone3) $ easy_install -U setuptools
Thursday, May 20, 2010
Products.PloneboardSubscription
Here is a product that will enable email notification for comments added to Ploneboard fora or conversations.
Once you install the product using the QuickInstaller, a Subscribe/Unsubscribe link is available when viewing a Forum or a Conversation. Once subscribed, an email notification is sent when a comment is added to the particular Forum or conversation.
The product egg is available from pypi. The source is in the collective svn repository.
Enjoy and do remember to give me some feedback!
Once you install the product using the QuickInstaller, a Subscribe/Unsubscribe link is available when viewing a Forum or a Conversation. Once subscribed, an email notification is sent when a comment is added to the particular Forum or conversation.
The product egg is available from pypi. The source is in the collective svn repository.
Enjoy and do remember to give me some feedback!
Subscribe to:
Posts (Atom)