zachsa opened a new issue #1309:
URL: https://github.com/apache/couchdb-fauxton/issues/1309


   <!--- Provide a general summary of the issue in the Title above -->
   Looking at a design document on the address:
   
   ```
   http://localhost:5984/_utils/#database/website/_design/website
   ````
   
   I can upload an attachment to create the expected stub:
   
   ```json
   {
     "_id": "_design/website",
     "_rev": "13-91d4beb90be17d28b7c2f989bf00322f",
     "_attachments": {
       "index.html": {
         "content_type": "text/html",
         "revpos": 13,
         "digest": "md5-Ak6JYFZiBGuMsMtTiq6AsQ==",
         "length": 1796,
         "stub": true
       }
     }
   }
   ```
   
   (i.e. I added an attachment called `index.html`.
   
   When I try to re-upload the attachment I get a JavaScript error
   
   ```
   TypeError: Cannot read property 'attributes' of null
       at i.value (bundle.bdfacd9ba862d16e41b9.js:1)
       at Ns (vendor.2ca2557452a177700f4c.js:78)
       at ga (vendor.2ca2557452a177700f4c.js:78)
       at ul (vendor.2ca2557452a177700f4c.js:78)
       at al (vendor.2ca2557452a177700f4c.js:78)
       at Za (vendor.2ca2557452a177700f4c.js:78)
       at vendor.2ca2557452a177700f4c.js:78
       at t.unstable_runWithPriority (vendor.2ca2557452a177700f4c.js:94)
       at Vi (vendor.2ca2557452a177700f4c.js:78)
       at qi (vendor.2ca2557452a177700f4c.js:78)
       at zi (vendor.2ca2557452a177700f4c.js:78)
       at el (vendor.2ca2557452a177700f4c.js:78)
       at Object.notify (vendor.2ca2557452a177700f4c.js:14)
       at e.t.notifyNestedSubs (vendor.2ca2557452a177700f4c.js:14)
       at e.t.handleChangeWrapper (vendor.2ca2557452a177700f4c.js:14)
       at g (vendor.2ca2557452a177700f4c.js:31)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to