From 238437e5168163c48edcb7e9cafca0b96db626bc Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Wed, 20 Mar 2013 19:47:08 +0300 Subject: [PATCH] Fixed bug where writable parameters are not marked as such --- tasks.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks.coffee b/tasks.coffee index 337939a..c0c58b6 100644 --- a/tasks.coffee +++ b/tasks.coffee @@ -28,7 +28,8 @@ this.init = (task, methodResponse, callback) -> if not common.endsWith(p[0], '.') parameterNames.push(p[0]) task.subtask = {name : 'getParameterValues', parameterNames : parameterNames} - this.getParameterValues(task.subtask, {}, (err, status, cwmpResponse, deviceUpdates) -> + this.getParameterValues(task.subtask, {}, (err, status, cwmpResponse) -> + # ignore deviceUpdates returned by firt call to getParameterValues callback(err, status, cwmpResponse, deviceUpdates) ) else if status is STATUS_STARTED