You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes to roomsResource.js on line 35 on the cleanup branch breaks the ruby client when calling createRoom. options is not passed in the body so it fails testing the req.body.options.test property as options is undefined. Not sure if this should be fixed by updating the ruby client to set an empty options in the body of the request (tested and fixes the issue) or to test for options in roomsResource.js before testing for the test property.
2.0.0-p195 :012 > test2.createRoom('roomfail')
=> "TypeError: Cannot read property 'test' of undefined\n at exports.createRoom
(/var/lib/licode/nuve/nuveAPI/resource/roomsResource.js:35:25)\n at callbacks
(/var/lib/licode/node_modules/express/lib/router/index.js:164:37)\n at param
(/var/lib/licode/node_modules/express/lib/router/index.js:138:11)\n at pass
(/var/lib/licode/node_modules/express/lib/router/index.js:145:5)\n at nextRoute
(/var/lib/licode/node_modules/express/lib/router/index.js:100:7)\n at callbacks
(/var/lib/licode/node_modules/express/lib/router/index.js:167:11)\n at
/var/lib/licode/nuve/nuveAPI/auth/nuveAuthenticator.js:96:17\n at
/var/lib/licode/nuve/nuveAPI/mdb/serviceRegistry.js:27:13\n at Cursor.nextObject
(/var/lib/licode/node_modules/mongodb/lib/mongodb/cursor.js:678:5)\n at
commandHandler
(/var/lib/licode/node_modules/mongodb/lib/mongodb/cursor.js:658:14)"
The text was updated successfully, but these errors were encountered:
Changes to roomsResource.js on line 35 on the cleanup branch breaks the ruby client when calling createRoom. options is not passed in the body so it fails testing the req.body.options.test property as options is undefined. Not sure if this should be fixed by updating the ruby client to set an empty options in the body of the request (tested and fixes the issue) or to test for options in roomsResource.js before testing for the test property.
The text was updated successfully, but these errors were encountered: