Skip to content

Comments

Fix issue with Mongo.Collection.__getCollectionByName not resolving 'users' when used in Meteor 3.1#419

Merged
StorytellerCZ merged 1 commit intocult-of-coders:masterfrom
dmolin:patch/get-collection
Mar 27, 2025
Merged

Fix issue with Mongo.Collection.__getCollectionByName not resolving 'users' when used in Meteor 3.1#419
StorytellerCZ merged 1 commit intocult-of-coders:masterfrom
dmolin:patch/get-collection

Conversation

@dmolin
Copy link
Contributor

@dmolin dmolin commented Mar 25, 2025

When used in Meteor 3.1, redis-oplog causes crashes because the Meteor "users" collection is not found when calling Mongo.Collection.__getCollectionByName().

This PR fixes it by using the more recent Meteor.getCollection() introduced in Meteor 3.0.2

@StorytellerCZ
Copy link
Collaborator

Great! Will release a patch once the tests pass.

@StorytellerCZ StorytellerCZ merged commit 9b2ca21 into cult-of-coders:master Mar 27, 2025
12 checks passed
@StorytellerCZ StorytellerCZ mentioned this pull request Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants