Skip to content

tasks: it's possible to update tasks/projects/labels to invalid states. #113

Description

@saser

For tasks and projects, it's possible to issue an Update{Task,Project} call that sets the title to the empty string, i.e., an Update{Task,Project}Request like:

task: {
    name: "tasks/1"
    title: "" # or just leaving it out
}
update_mask: {
    paths: ["title"]
}

The same goes for UpdateLabelRequest, but where the label field is set to the empty string.

There are currently no tests to catch this. Adding that should be the first step towards fixing this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions