Homec4science

Improve behavior of "owner" transaction in "maniphest.edit" endpoint

Authored by epriestley <git@epriestley.com> on Jan 11 2016, 12:24.

Description

Improve behavior of "owner" transaction in "maniphest.edit" endpoint

Summary:
Fixes T10117.

  • I accidentally broke setting null to unassign tasks at some point when I added richer validation.
  • Raise a better error if the user passes junk.

Test Plan:

  • Unassigned a task via API and web UI.
  • Reassigned a task via API and web UI.
  • Tried to do an invalid assign via API, got a sensible error.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10117

Differential Revision: https://secure.phabricator.com/D14992

Details

Committed
epriestley <git@epriestley.com>Jan 11 2016, 18:19
Pushed
aubortJan 31 2017, 17:16
Parents
rPHb848ab87b3d5: Introduce "local names" for commits
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHadd8333b98cb: Improve behavior of "owner" transaction in "maniphest.edit" endpoint (authored by epriestley <git@epriestley.com>).Jan 11 2016, 18:19