yogiben / meteor-autoform-file

Upload and manage files with #autoForm
MIT License
92 stars 101 forks source link

Removing an image and uploading a new one create a error #92

Closed ChrisCinelli closed 8 years ago

ChrisCinelli commented 8 years ago

After updating to Meteor 1.2, yogiben:autoform-file@0.4.2 and aldeed:autoform@5.8.1, I get a weong behaviour in this use case:

The provided value 'undefined' is not a valid enum value of type XMLHttpRequestResponseType.

XHR finished loading: PUT "http://localhost:3000/cfs/files/images/gxfrEqtr7szZuFTBT?chunk=0&filename=i…                    cfs_upload-http.js:109 

VG9rZW4iOiJURFRrNS1POTZrdTRyWmRLEVZSUTlzb1hUN2RTYnNWUzBvczJJeTVTM2wxIn0%3D".
httpCall@ cfs_upload-http.js:206
gotBinaryCallback @ cfs_upload-http.js:342
reader.onload @ cfs_data-man.js:307

I am also using cfs:s3

ChrisCinelli commented 8 years ago

BTW, I have a similar message in the console even when the upload is successful, so it is probably not relevant.

ChrisCinelli commented 8 years ago

Not sure why nobody is merging the #91 PR. If you do not have time for the PR to be merged, just use:

meteor remove yogiben:autoform-file
meteor add spunkedy:autoform-file

This worked for me.