When I create a new File in Plone 5.0.7 and attach a file, it's mime icon is displayed but only in the Edit mode. In the View mode Plone cannot find the icon file. It does not matter what file type I attach.
E.g. for PDF file, in Edit mode I can see the icon, it's path is /pdf.png.
When I switch to View mode, it's path changes to ++resource++mimetype.icons/pdf.png which returns 404 Not Found error.
Thank you! Great tip. If the user don't have a versions.cfg local, put the version 2.1 inside a buildout.cfg file, in versions section and re-run buildout.
I just upgraded a site from Plone 4.3.x to Plone 5.1.6 and I stumbled over this issue.
This is how I fixed it, since it seems at least for me it was broken after the upgrade. The code base I'm using is super huge so I can tell if it is an issue in plone itself, or just me.