Hello list,
I've installed CacheFu 1.2 and Plone 2.5.3 in my instance and I get
the following error everytime I click the "policies", "rules" or
"headers" configuration tabs for the Cache Configuration Tool in the
Plone Site Configuration control panel:
TypeError: listActionInfos() got an unexpected keyword argument 'categories'
but the "main" and "memory" tabs work fine. CacheFu 1.1.2 doesn't work either.
I've grepped the definition of the "listActionInfos" function in the
Plone and CMF source code and I've found that in Plone 2.5.3 (and in
2.5.5 too) it is:
#CMFCore/ActionProviderBase.py
def listActionInfos(self, action_chain=None, object=None,
check_visibility=1, check_permissions=1,
check_condition=1, max=-1)
and in Plone 3:
#CMFPlone/ActionsTool.py
def listActionInfos(self, action_chain=None, object=None,
check_visibility=1, check_permissions=1,
check_condition=1, max=-1,
categories=None, ignore_categories=None)
The CacheFu code that raises this exception is:
#CacheSetup/skins/cache-setup/getFolderButtons.py
button_actions = portal_actions.listActionInfos(object=context,
categories=('folder_buttons', ))
So I think I've stumbled upon a bug. What do you think? What could I
do to fix workaround that?
Thanks in advance.
--
Israel Saeta Pérez
http://dukebody.com-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-usersIsrael Saeta Pérez