-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
publication exception after upgrade to 0.8.1 #2094
Comments
Can you please share a small repro? |
That code snippet isn't enough to diagnose the issue (amongst other things, there's no call to Please file a repro in the form of an app in a GitHub repository we can clone and run. https://github.com/meteor/meteor/wiki/Contributing-to-Meteor#reporting-a-bug-in-meteor |
I'm seeing this exact error in code that programmatically passed This works in 0.8.0.1, but fails in 0.8.1.0: result = collection.findOne({},{ sort: undefined, skip: undefined }); The error is:
|
I'm also seeing errors with |
I think I'm having a different issue, actually. I have some publications that worked in 0.8 but the data completely disappears in 0.8.1. with some silent failure in the publish function; no error thrown. I'm trying to diagnose it right now... Is there some "preserve subscriptions over hot code reload" logic that got added recently? I'm seeing some very strange behavior, including publications not getting re-run after HCR. |
@mizzao Hmm I haven't seen anything like that, but it wouldn't surprise me, a bunch of stuff seems to have changed/broke in 0.8.1, unrelated to the OAuth fixes. |
My problem was fixed in the 0.8.1.1 update. Thanks |
I also ran into this error message when upgrading. On 0.8.0 you could pass a string to sort without getting an error, but now it throws an error. Seems to be working as expected now. |
@datacarl I mean, yes, we added this to make it more clear that passing a string to sort was incorrect. |
👍 |
(STDERR) error caught on publication: players : Match error: Failed Match.OneOf or Match.Optional validation
Didn't have this problem on Meteor 0.8. Not sure what's causing it. Difficult to debug
The text was updated successfully, but these errors were encountered: