Page MenuHomePhabricator

Prevent buildable list in Harbormaster from breaking when container or buildables are missing
ClosedPublic

Authored by hach-que on Mar 24 2014, 3:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 8:16 AM
Unknown Object (File)
Sun, Dec 22, 8:16 AM
Unknown Object (File)
Sat, Dec 14, 10:18 PM
Unknown Object (File)
Fri, Dec 13, 4:41 AM
Unknown Object (File)
Nov 25 2024, 9:46 PM
Unknown Object (File)
Nov 23 2024, 2:49 AM
Unknown Object (File)
Nov 18 2024, 7:43 AM
Unknown Object (File)
Nov 17 2024, 6:07 AM

Details

Summary

Ref T1049. I'm fair sure this is just a case of bad data in my local install, but we probably don't want the default page for Harbormaster to break when there's invalid / missing container or buildable handles on any of the builds.

Test Plan

Loaded the page, didn't get a crash due to null reference.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

hach-que retitled this revision from to Prevent buildable list in Harbormaster from breaking when container or buildables are missing.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.

In theory, handles should always load something, but this case is a little weird and we don't have a convenient way to get/attach a totally empty handle. This seems reasonable until we have some justification for doing that.

This revision is now accepted and ready to land.Mar 26 2014, 12:35 AM
epriestley updated this revision to Diff 20439.

Closed by commit rPfc3b5ddce6a5 (authored by @hach-que, committed by @epriestley).