Updating footer links via custom action-contribs.xml unsuccessful

The following actions-contrib.xml extension breaks my app and links do not get overwritten.

<component name="my.app.actions">
  <require>org.nuxeo.ecm.platform.actions</require>
    <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
      <action id="footer_contact_us" label="label.footer.contactUs" link="http://www.myapp.com/contact?id=1001&type=32" order="10" type="bare_link">
        <category>FOOTER</category>
        <properties>
          <property name="target">_blank</property>
        </properties>
      </action>
      <action id="footer_blogs" enabled="false" />
    </extension>
</component>

If I comment out the the action, footer_contact_us, then disabling footer_blogs is successful. But my app breaks when I update any footer link. Even changing the action-id to a custom name does not fix the problem. Any ideas?

0 votes

1 answers

1985 views

ANSWER



I found my error. I failed to convert the & character to the &amp; html code.

0 votes