max-mapper / max-mapper/couchpubtato
change.doc._id undefined
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 115
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
My environment is Couchbase 1.1.3, Mac Lion, node 0.6.8 and npm 1.1.0-2
I just cloned and followed the instructions and I am getting the error:
/Users/dixon/couchpubtato/couchpubtato.js:88
if (change.doc._id in children) {
^
TypeError: Cannot read property '_id' of undefined
at EventEmitter. (/Users/dixon/couchpubtato/couchpubtato.js:88:17)
at EventEmitter.emit (events.js:88:20)
at EventEmitter.write (/Users/dixon/couchpubtato/dbemitter/main.js:30:28)
at Request.ondata (stream.js:38:26)
at Request.emit (events.js:67:17)
at IncomingMessage. (/Users/dixon/couchpubtato/node_modules/request/main.js:438:16)
at IncomingMessage.emit (events.js:67:17)
at HTTPParser.onBody (http.js:115:23)
at Socket.ondata (http.js:1137:24)
at TCP.onread (net.js:354:27)
Pretty new at this, not sure how to debug.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at couchpubtato.js line 88 and trace the event emitted from dbemitter/main.js line 30. Reproduce the failure with the environment listed in the report, then determine which event shape is expected and what should happen when the document data is absent. Done means the reported crash is covered by a regression test or verified behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100