If you have a document with a name ending in .html or .js (and possibly other similar kind of extensions) you are unable to preview the document due to following error: Cannot read property 'breadcrumb' of undefined (See screenshot)
- Go to Nightly, for instance https://nightly.nuxeo.com/nuxeo/ui/#!/browse/default-domain/workspaces/Sample%20Content/
- Create a new "File" document
- Name it "myFile.html"
- Validate creation
- Instead of being displayed, the error is shown