Skip to content
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

strange error.. #35

Closed
pociej opened this issue Mar 27, 2015 · 5 comments
Closed

strange error.. #35

pociej opened this issue Mar 27, 2015 · 5 comments

Comments

@pociej
Copy link

pociej commented Mar 27, 2015

I20150327-16:37:13.264(1)? Exception in queued task: TypeError: Object # has no method 'getCollectionName'
I20150327-16:37:13.264(1)? at Publication.getCollectionName (packages/reywood:publish-composite/lib/publication.js:74:1)
I20150327-16:37:13.264(1)? at Publication.publish (packages/reywood:publish-composite/lib/publication.js:15:1)
I20150327-16:37:13.264(1)? at Publication.createChildPublication (packages/reywood:publish-composite/lib/publication.js:81:1)
I20150327-16:37:13.264(1)? at Array.forEach (native)
I20150327-16:37:13.264(1)? at Function.
.each.
.forEach (packages/underscore/underscore.js:105:1)
I20150327-16:37:13.264(1)? at Publication._publishChildrenOf (packages/reywood:publish-composite/lib/publication.js:78:1)
I20150327-16:37:13.264(1)? at Object.added (packages/reywood:publish-composite/lib/publication.js:30:1)
I20150327-16:37:13.265(1)? at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
I20150327-16:37:13.265(1)? at self.applyChange.added (packages/minimongo/observe.js:53:1)
I20150327-16:37:13.265(1)? at packages/mongo/observe_multiplex.js:183:1

@reywood
Copy link
Collaborator

reywood commented Mar 27, 2015

Do you happen to know what version of meteor you're running?

@pociej
Copy link
Author

pociej commented Mar 27, 2015

i 1.0.4 or 1.0.5 , same error in both cases

@reywood
Copy link
Collaborator

reywood commented Mar 27, 2015

Sounds like perhaps one of your find functions is not returning a cursor. Could you post your publishComposite routine?

@pociej
Copy link
Author

pociej commented Mar 27, 2015

sorry man , you are right , there is findOne by accident. Thx a lot and sorry one more time

@pociej pociej closed this as completed Mar 27, 2015
@reywood
Copy link
Collaborator

reywood commented Mar 27, 2015

No worries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants