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:

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 Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   [EMAIL PROTECTED]

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to