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

Difficulty populating file data after document insertion #145

Open
uttahb opened this issue Nov 4, 2016 · 1 comment
Open

Difficulty populating file data after document insertion #145

uttahb opened this issue Nov 4, 2016 · 1 comment

Comments

@uttahb
Copy link

uttahb commented Nov 4, 2016

I am using Meteor 1.3.2 and client side I am using angular. When I try to upload with meteor collection, its creating a zero length file document in collection but its not getting updated with full file data.

@vsivsi
Copy link
Owner

vsivsi commented Nov 4, 2016

I really can't help without seeing code. Are you actually uploading the file data somehow? How?
See also: #144

There are also working sample apps, I suggest you examine how they work, if you haven't already.
Simple:
https://github.com/vsivsi/meteor-file-sample-app
More complex:
https://github.com/vsivsi/meteor-file-job-sample-app

@vsivsi vsivsi changed the title zero length file document is getting created, but the upload and adding of the file data is not happening. Difficulty populating file data after document insertion Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants