icon given in definition type doesn't appear when a file is joined

I define a new Document Type “montype” with a new icon like this :

  <type id="montype">
      <label>Mon Nouveau Type</label>
      <layouts mode="any">

NuxeoDM show the new icon “montype.png” when i create an instance without a file joined but when i join a file (like an image or an excel file for instance), nuxeoDM show the image's icon or excel's icon instead of my montype-16.png. It is a bug or is there a way to keep my new Document Type's icon ?

Thanks !

0 votes

1 answers




I found this (in french) : http://forum.nuxeo.com/?t=msg&goto=13477&&srch=icone#msg_13477

For english people, see that : https://jira.nuxeo.com/browse/NXP-6092

So, I will try to declare an extension for the listener MimetypeIconUpdater for my document's types.

1 votes

It's ok with the extension listener but I think it would be good if we could parameter this in the type declaration.