buddycloud / buddycloud-http-api

The buddycloud API server written in Node.js
https://buddycloud.org/wiki/Buddycloud_HTTP_API
39 stars 17 forks source link

api dies with error message #68

Closed imaginator closed 11 years ago

imaginator commented 11 years ago

Running against a Tigase environment:

/usr/share/buddycloud-http-api/src/notifications_posts.js:68 var entry = items.get('p:item/a:entry', { ^ TypeError: Cannot call method 'get' of undefined at extractItem (/usr/share/buddycloud-http-api/src/notifications_posts.js:68:21) at /usr/share/buddycloud-http-api/src/notifications_posts.js:42:18 at Client.Session.onStanza (/usr/share/buddycloud-http-api/src/util/session.js:257:5) at Client.g (events.js:192:14) at Client.EventEmitter.emit (events.js:126:20) at Client.onRawStanza (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/client.js:159:14) at Client.EventEmitter.emit (events.js:96:17) at Client.Connection.onStanza (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/connection.js:237:14) at StreamParser.Connection.startParser (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/connection.js:136:14) at StreamParser.EventEmitter.emit (events.js:96:17)

flosoft commented 11 years ago

This occurs when I'm trying to post an item / comment on a remote server.