Bad merging of categories when overriding actions
-------------------------------------------------

                 Key: NXP-3276
                 URL: http://jira.nuxeo.org/browse/NXP-3276
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.2 M4
            Reporter: Benoit Delbosc
            Assignee: Thierry Delprat


The categories when overriding an action are appended instead of being merged 
without duplicates.

For instance this contribution 

<component name="foo.actions">
  <require>org.nuxeo.ecm.platform.actions</require>
  <require>org.nuxeo.ecm.platform.notifications.web.actions</require>
  <require>org.nuxeo.ecm.platform.forum.actions</require>
  <require>org.nuxeo.ecm.platform.comment.actions</require>
  <require>org.nuxeo.ecm.platform.io.web</require>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService" 
point="actions">

    <action id="TAB_VIEW">
      <category>VIEW_ACTION_LIST</category>
       ...
    </action>
  </extension>
</component>

Will duplicate the "View" tab in the ui with the same action instead of 
replacing it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to