Details
-
Bug
-
Resolution: Outdated
-
Minor
-
None
-
None
-
None
Description
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,
Checklists
Acceptance criteria