HomePhorge

Fix an issue where projects queried in "Any Projects" in Maniphest did not have…

Description

Fix an issue where projects queried in "Any Projects" in Maniphest did not have their handles loaded

Summary:
See https://github.com/facebook/phabricator/issues/230.

If you searched for a project with the "Any Projects" field, we didn't explicitly include it in the list of handles to fetch. Usually this works fine because something else fetches the handle, but if you, e.g., search for a project that has no tasks, you get a fatal.

Test Plan:
Reproduced fatal described in report by performing a custom query for "Any Projects" using a project with no tasks; applied patch; query worked correctly.

Verified $xproject_phids and $project_phids are already queried.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

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

Details

Provenance
epriestleyAuthored on Nov 8 2012, 9:05 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPc812d7d68654: Add a simple button UIExample
Branches
Unknown
Tags
Unknown

Event Timeline