Package bscw :: Package api :: Package Tasks :: Module ap_correctwbtask
[hide private]

Module ap_correctwbtask

Request correction of a task,
   return id of task.

API definition::

 API = (('task_id', 'ASCII string', 1),
        ('reason', 'ASCII string', 0),
        ('objections', 'array', 0, [('name_objection', 'array', 1, [('item', 'Unicode string', 0)])]))

(c) Orbiteam Software GmbH, 2003


Version: $Rev: 20242 $

Functions [hide private]
 
do_it(request, task_id, reason=None, objections=[])
See above.
 
correct_task(request, task, objections, reason)
Request correction of task, return task(for user requests).
Variables [hide private]
  __package__ = 'bscw.api.Tasks'
Function Details [hide private]

correct_task(request, task, objections, reason)

 

Request correction of task, return task(for user requests).

corrections is a list of (field name, correction string) pairs. If no non-empty correction strings are given, reason is taken when non-empty and added to the task discussion instead of the corrections summary.