robhurring / hubot-redmine

Redmine API scripts for Hubot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure when setting percent done with comments

notok opened this issue · comments

Following error occurs when setting percent done with comments.

[Sun Mar 20 2016 04:34:10 GMT+0000 (UTC)] ERROR ReferenceError: userComments is not defined
  at TextListener.callback (/home/user/Hubot/node_modules/hubot-redmine/src/redmine.coffee:44:7, <js>:27:53)
  at executeListener (/home/user/Hubot/node_modules/hubot/src/listener.coffee:65:11, <js>:53:19)
  at allDone (/home/user/Hubot/node_modules/hubot/src/middleware.coffee:44:37, <js>:34:16)
  at /home/user/Hubot/node_modules/async/lib/async.js:274:13
  at Object.async.eachSeries (/home/user/Hubot/node_modules/async/lib/async.js:142:20)
  at Object.async.reduce (/home/user/Hubot/node_modules/async/lib/async.js:268:15)
  at /home/user/Hubot/node_modules/hubot/src/middleware.coffee:49:7, <js>:37:22
  at _combinedTickCallback (node.js:370:9)
  at process._tickCallback (node.js:401:11)