Can't render icon on documents in inbox list
--------------------------------------------

                 Key: MAGNOLIA-2079
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2079
             Project: Magnolia
          Issue Type: Bug
          Components: admininterface
            Reporter: Capitaine Harold
            Assignee: Philipp Bracher


The way to reproduce the bug:

 * Choose a document and activate it
 * Open the appropriate inbox and you can see that an item is well displayed
 * Change the name of the selected document in the dms Tree
 * Open the inbox and now a problem appeared because the icon can't be rendered.

The problem comes from MIMEMapping.getMIMETypeIcon() because the path given in 
parameter is the old path and not the new one.
By doing a simple test on extension value to avoid a null and return the 
default icon.

The activation will failed after but it's completely normal.

Cheers,

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

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to