Icon paths get lost when exporting Author mode actions

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Icon paths get lost when exporting Author mode actions

Post by Frank Ralf »

Hi,

We have created a framework extension that inherits a large number of custom Author mode actions from its base framework (ediarum.MINUTES.edit). For easier maintenance and development of the Author mode actions we have exported them to separate, external XML files. The actions still work as before but all the icons are gone, both from toolbar entries and from inline actions. The icons are taken from the base framework like so:

Code: Select all

<a:smallIconPath href="${baseFramework}/icons/delete_16.png"/>
This might be related to "Problems with author actions in framework extension script".

EDIT
Copying the icons folder to the framework extension and adjusting the icon path like so fixes the issue:

Code: Select all

<a:smallIconPath href="${framework}/icons/delete_16.png"/>
Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Icon paths get lost when exporting Author mode actions

Post by Radu »

Hi Frank,

Sorry for the delay, I can reproduce the problem and I added an internal issue for it, pasting the issue ID below for future reference:
EXM-55668 Cannot resolve Author action icons to base framework location

This functionality probably never worked so indeed for now you should just duplicate the icon in your extension.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Icon paths get lost when exporting Author mode actions

Post by Frank Ralf »

Thanks for testing and for creating an internal issue, Radu. I will proceed with the workaround then.

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply