[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated MAGNOLIA-1425:
-------------------------------------

    Fix Version/s:     (was: 4.3.1)

> Deleted Folder (in Documents) cause NPE in Inbox.getIcon()
> ----------------------------------------------------------
>
>                 Key: MAGNOLIA-1425
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-1425
>             Project: Magnolia
>          Issue Type: Bug
>          Components: workflow
>    Affects Versions: 3.0.1
>         Environment: magnolia-3.0.1-bundle.tar.gz, JDK 1.5.0_06, WIn32
>            Reporter: Henryk Paluch
>            Assignee: Ondřej Chytil
>            Priority: Minor
>         Attachments: Inbox-icon-npe.patch
>
>
> When Inbox item is later deleted, than Inbox list crashes on 
> NullPointerException:
> Caused by: java.lang.NullPointerException
>       at 
> info.magnolia.cms.beans.config.MIMEMapping.getMIMETypeIcon(MIMEMapping.java:216)
>       at info.magnolia.module.workflow.inbox.Inbox.getIcon(Inbox.java:178)
>       at info.magnolia.module.workflow.inbox.Inbox$2.getValue(Inbox.java:137)
>       at 
> info.magnolia.cms.gui.controlx.list.ListColumnRenderer.render(ListColumnRenderer.java:32)
> How to reproduce:
> * Go to "Documents"
> * Create new folder 'test'
> * Activate that folder
> * Verify that this folder is visibile in Inbox
> * Go back to "Documents"
> * Delete the folder 'test'
> * Go to Inbox - it will crash with above NPE
> Fix: attached patch to avoid call of MIMEMapping.getMIMETypeIcon() with null 
> type

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to