Homec4science

Fix fatal on project list

Authored by epriestley <git@epriestley.com> on Jan 12 2012, 00:53.

Description

Fix fatal on project list

Summary:
Until T605 gets fixed, you might end up with a Project without a Profile if the
Profile insert failed. This fatals the list view; instead, don't fatal if a
profile is missing.

(At some point we should probably just merge this field into the Project object,
I was just mimicking the user/profile separation but we have partial-field
object support now and Projects aren't super heavily used or very big.)

Test Plan:

  • Viewed list view including a project with a missing profile.
  • Edited the project, creating its profile.

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: arice, aran, btrahan

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

Details

Committed
epriestley <git@epriestley.com>Jan 12 2012, 15:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPH49cf1ca10c08: Support deleting individual changeset
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH8b3ab97d64da: Fix fatal on project list (authored by epriestley <git@epriestley.com>).Jan 12 2012, 15:52