It seems that an extension profile can't add actions to an action
provide in CMF 1.6. Or, rather, if you do it all previous actions are
erased.
The actions exportimport code has:
def _initProviders(self, node):
...
# delete any actions that are auto-created
provider = getToolByName(self.context, provider_id)
num_actions = len(provider.listActions())
if num_actions:
provider.deleteActions(range(0,num_actions))
What is this for? It's harmful.
Also, it seems actions inside action providers aren't purged correctly.
Can someone shed light on what the code tries to do? Can I use
"newstyle" action profiles in CMF 1.6?
Florent
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
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