Christian Heimes wrote:
I have a strange issue with ActionInfo under CMF 1.5

Debugging output:

> /opt/zope/instances/plone21z28cmf15/Products/CMFCore/ActionInformation.py(98)__getitem__()
-> return value
(Pdb) value
<bound method ActionInfo._getURL of {'category': 'user', 'available': True, 'title': 'My Folder', 'url': <bound method ActionInfo._getURL of {...}>, 'name': 'My Folder', 'visible': True, 'allowed': True, 'id': 'mystuff', 'permissions': ('View',)}>
(Pdb) self._lazy_keys
[]

self._lazy_keys should not be empty here.

I was able to reproduce this problem with copied ActionInfo objects. A fix for the copy method is on the CMF-1_5-branch. Hope that fixes your issue as well.

Cheers, Yuppie

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to