https://github.com/chrisbobbe/issue-10420-reproduction
https://github.com/meteor/meteor/issues/10420
https://github.com/chrisbobbe/issue-10420-reproduction
Last synced: 4 months ago
JSON representation
https://github.com/meteor/meteor/issues/10420
- Host: GitHub
- URL: https://github.com/chrisbobbe/issue-10420-reproduction
- Owner: chrisbobbe
- Created: 2019-01-15T17:46:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-15T17:59:56.000Z (over 6 years ago)
- Last Synced: 2025-01-14T20:24:08.797Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Reproduction instructions:
Run
`git clone https://github.com/chrisbobbe/issue-10420-reproduction.git`
`cd issue-10420-reproduction`
Set up a replica set locally to enable oplog tailing: https://www.manuel-schoebel.com/blog/meteorjs-and-mongodb-replica-set-for-oplog-tailing
(You will need to edit the MONGO_URL and MONGO_OPLOG_URL environment variables in the start script in package.json)
run `npm install`
Start the app with `yarn start` or `npm run start`
Open dev tools in the browser, and run from the console `Meteor.call('toggleTodo')`. Run it several times, and observe the `Error in oplog callback TypeError: Cannot read property 'toString' of undefined
` message. For some reason it only seems to happen every other time you call `toggleTodo`; I'm not sure why yet.