Skip to content

updateTask silently ignores column_id and column_position parameters #69

@sognen

Description

@sognen

Description

When calling updateTask with column_id or column_position parameters, the method returns True but the column is not changed. The task stays in its original column.

Steps to reproduce

  1. Create a task in a Kanboard project (any column except the target)
  2. Call client.update_task(task_id, column_id=target_column_id) (or with column_position)
  3. update_task() returns True but the task column is unchanged

Expected behavior

Either the task should be moved to the specified column, or an error should be raised indicating these are not valid parameters.

Actual behavior

  • Method returns True (success)
  • The column field is silently ignored

Root cause

In TaskProcedure::updateTask(), the PHP signature does NOT include column_id or column_position. When Kanboard strips unknown fields, these parameters are removed silently and the update proceeds with only valid fields.

Workaround

Use moveTaskPosition with positional parameters: [project_id, task_id, column_id, position, swimlane_id]

Environment

  • Kanboard: latest Docker image
  • Python: direct requests library with HTTP Basic auth (kanboard pip package has SSL/HTTP compatibility issues)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions