Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2079

Can't render icon on documents in inbox list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Minor
    • None
    • None
    • admininterface
    • 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

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              hcapitaine Capitaine Harold
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD