-
Notifications
You must be signed in to change notification settings - Fork 9
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
Saves are not persisted in the database #5
Comments
My saves aren't persisted at all. Showing (reading) a list of Translations is fine, but not saves. I know that the save is called, but nothing seems to happen whatsoever. And Translations is instantiated in the normal way: |
To debug it, place a breakpoint in this line https://github.com/webix-hub/webix-meteor-data/blob/master/codebase/meteor-data.js#L94. |
Thanks for the pointer, which was a big help. Could you explain the fix to me? What do you mean by the 'Meteor.Collection reference'? I only know the one way of referencing collections, and that gives the LocalCollection |
The return value of |
It's declared correctly in a .js file in the /lib folder, so it's available to both server and client. Thanks very much for your help, I'll just keep debugging! |
Ok I think I have found my problem, something similar to yours, but I'll open another issue. |
Sanjo, I need another favour, if you have time. Do you know a decent link that explains properly how to override packages using my project's /package folder? I'd like to take a look at my problem. I've read how wonderfully easy it is to override in this way.... I've tried copying webix_webix.js to the /packages folder, uninstalling webix:webix, reinstalling webix:webix, tried copying the whole folder to the packages folder, nothing works. How is this done? (a little detail would be helpful) |
cd packages
git clone --recursive https://github.com/dandv/meteor-webix.git And make sure that webix:webix is in your .meteor/packages file. Haven't tested it but should work ;-) |
Get it. Thanks. |
It uses submodules with ssh URLs. So you just need to have your SSH key setup correctly with Github and then do:
You can learn more about submodules here: https://git-scm.com/book/en/v2/Git-Tools-Submodules#Cloning-a-Project-with-Submodules The --recursive option does the same and it worked for me. |
Thanks, done all that and I've got the stuff, thanks for the help with the noob questions |
this.source.collection
andMeteor.connection._mongo_livedata_collections[this.source]
is a reference to the LocalCollection. Using this collection will not send the updates to the server.The user must provide the Meteor.Collection reference to the proxy to fix this.
The text was updated successfully, but these errors were encountered: