Homec4science

Prevent crashes when more than one buildable for an object exists

Authored by James Rhodes <jrhodes@redpointsoftware.com.au> on Nov 9 2013, 16:03.

Description

Prevent crashes when more than one buildable for an object exists

Summary: This prevents a crash in applying build plans when more than one buildable exists for the same object. It also adds a check into the "New Manual Build" page to ensure that users can't create a buildable for an object that already has one.

Test Plan: Tried to create a buildable for an object that already has one and a nice friendly error appeared. Applied a build plan to a buildable whose object has two buildables and didn't get a crash any more.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

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

Details

Committed
epriestley <git@epriestley.com>Nov 9 2013, 16:03
Pushed
aubortJan 31 2017, 17:16
Parents
rPHaca621e21f9c: Replace some hsprintf() with phutil_tag()
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH43847d6bd7bb: Prevent crashes when more than one buildable for an object exists (authored by James Rhodes <jrhodes@redpointsoftware.com.au>).Nov 9 2013, 16:03