Can not upload backup file


(Khoa Nguyen) #1

I created a new Discourse instance (1.20beta 3 f0dda91)with docker and I can not upload backup files via Discourse.
The progress bar stood at 0%.
Console log:

 Uncaught TypeError: Cannot read property 'assignBrowse' of nulladmin-33f85b057136638bb2e5362a4aabab69.js:26 (anonymous function)vendor-f92d2a840b43f41aefc3e516a523d0b9.js:119 r.invokevendor-f92d2a840b43f41aefc3e516a523d0b9.js:120 r.flushvendor-f92d2a840b43f41aefc3e516a523d0b9.js:115 s.endvendor-f92d2a840b43f41aefc3e516a523d0b9.js:115 s.runvendor-f92d2a840b43f41aefc3e516a523d0b9.js:114 uvendor-f92d2a840b43f41aefc3e516a523d0b9.js:114 (anonymous function)

I can’t dismiss the upload too. Console log:

Uncaught TypeError: Cannot read property 'cancel' of nulladmin-33f85b057136638bb2e5362a4aabab69.js:25 Discourse.ResumableUploadComponent.Ember.Component.extend.clickvendor-f92d2a840b43f41aefc3e516a523d0b9.js:364 m.extend.triggervendor-f92d2a840b43f41aefc3e516a523d0b9.js:234 _vendor-f92d2a840b43f41aefc3e516a523d0b9.js:232 nvendor-f92d2a840b43f41aefc3e516a523d0b9.js:367 h.handleEventvendor-f92d2a840b43f41aefc3e516a523d0b9.js:377 tt.extend.handleEventvendor-f92d2a840b43f41aefc3e516a523d0b9.js:115 s.runvendor-f92d2a840b43f41aefc3e516a523d0b9.js:229 lvendor-f92d2a840b43f41aefc3e516a523d0b9.js:349 p.default.y.extend._bubbleEventvendor-f92d2a840b43f41aefc3e516a523d0b9.js:349 (anonymous function)vendor-f92d2a840b43f41aefc3e516a523d0b9.js:79 Z.event.dispatchvendor-f92d2a840b43f41aefc3e516a523d0b9.js:76 g.handle

(Robin Ward) #2

Confirmed it’s a new bug. Will look into it!


(Robin Ward) #3

I’ve got a fix in master, should be deployed shortly.

https://github.com/discourse/discourse/commit/7069ee16e2ef32a6be9675148e11184dfd3eab28


(Régis Hanol) #4