Upload pause not working
See original GitHub issueHello,
I get the following client error when I try to pause a file upload:
TypeError: Cannot read property 'get' of undefined at Meteor.Files.Files.insert.Meteor.isClient.result.toggle (files.coffee:791)
files.coffee:791
...
toggle: () ->
if @onPause.get() then @continue() else @pause()
...
This is how I call the funcion:
this.insert;
this.addFile = (files) => {
...
this.insert = Documents.insert({
...
});
}
this.togglePause = () => {
if (this.insert !== undefined) {
this.insert.toggle.call();
}
}
this.insert.onPause
is returning false. Why @onPause is undefined?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Fix “Uploading to iCloud Paused Message” on iPhone - iToolab
In general, uploading to iCloud gets paused due to two common reasons, i.e., poor Internet connection and low battery. Let's say In the...
Read more >iCloud photo library upload paused - will… - Apple Community
Try going to System Preferences/iCloud and stop Photos syncing by unchecking the box. Wait a couple of minutes, then check syncing. Last resort ......
Read more >Firebase: pause/resume file upload - Stack Overflow
The API docs for UploadTask show that there's a pause() and a resume() method for exactly what it sounds like - pausing and...
Read more >'Uploading to iCloud Paused - Plug in your device and ...
It appears that iCloud uploading is not working and is sort of stuck. This message may also appear when you attempt to sync...
Read more >Uploading to iCloud Paused Message on iPhone 13 Pro ...
If your uploading process appears to pause unexpectedly, an easy way to unpause it is by logging out of your iCloud. Then, log...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@danielruiz7 thank you, I appreciated you found my work useful. Do not hesitate to star it at both GitHub and Atmosphere. Also you may like to [Tweet](https://twitter.com/share?url=https://github.com/VeliovGroup/Meteor-Files&text=Meteor file upload - now it’s easy!) about it or share at Facebook
You are right!
Too many hours working hehe
Nice package by the way 😉