Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ChrisCinelli opened this issue Feb 20, 2016 · 2 comments
Closed

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

ChrisCinelli opened this issue Feb 20, 2016 · 2 comments

Comments

@ChrisCinelli
Copy link

After updating to Meteor 1.2, yogiben:[email protected] and aldeed:[email protected], I get a weong behaviour in this use case:

  • Go on a form that has already an image
  • Delete the image
  • Click on "Choose a file" to upload a new image and select a file
  • I see the old image showing up again and I see in the console:
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
Copy link
Author

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

@ChrisCinelli
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant