Closed sergey-safarov closed 6 years ago
I'm not having the error with the current master branch.
Should we allow blob: as script-src?
@sergey-safarov What kind of attachment was that?
Hello Alexis (@popojargo)
Database contains mp3
audio files.
Important Console contains same error when opened doc without attachments. I think attachment list is not generated because some of scripts failed.
I am facing the same issue on my CouchDB installation. My version is 2.1.1 (installed from Source) and running on Raspbian Stretch. When I am clicking on "View attachments" nothing happens. My console in the chrome browser shows the same errors. I also tried it with the Edge and Firefox browser with the same result.
My attachments are .png and .jpg image files.
The issue is fixed on master but it didn't make into the CouchDB 2.1.1 release. It was delivered a few days after the cut: https://github.com/apache/couchdb-fauxton/pull/999
Thank you @Antonio-Maranhao I closing this ticket
Same issue here right now with the official Docker image couchdb:2.1.1
.
@cluxter As Antonio said, it was not released yet for 2.1.1 It not expected to be updated in the docker image
I've made the edits from #999 in my deployment to actions.js and to components.js but it I still have the problem of not being able to view the attachements (jpg) in Fauxton. I did notice that action.js line 217 deletes a few of items leaving the line as
I am experiencing this issue to with Firefox. In the meanwhile I am using https://github.com/ermouth/couch-photon to be able to easily download attachments and for IE11 compatibility.
Expected Behavior
I want to view and download document attachments.
Current Behavior
I cannot view attachments. When document is loaded (with or without attachments) i see console errors as on screenshot.
Possible Solution
not known
Steps to Reproduce (for bugs)
Context
Database maintenance operations.
Your Environment
Browser console errors: