Page MenuHomePhabricator

Make "Edit Build Plan" more resiliant so old build configurations can be deleted
ClosedPublic

Authored by hach-que on Dec 5 2013, 3:17 AM.
Tags
None
Referenced Files
F17942710: D7708.id17411.diff
Thu, Jul 31, 7:03 AM
F17913630: D7708.id.diff
Tue, Jul 29, 6:10 PM
F17900181: D7708.id17411.diff
Tue, Jul 29, 9:00 AM
F17867764: D7708.diff
Mon, Jul 28, 6:40 AM
Unknown Object (File)
Jun 28 2025, 5:28 PM
Unknown Object (File)
Jun 27 2025, 5:35 AM
Unknown Object (File)
Jun 3 2025, 7:36 PM
Unknown Object (File)
May 28 2025, 4:45 PM

Details

Summary

Currently the "Edit Build Plan" page crashes if there are any build steps with invalid implementations (because the implementation class has been removed or renamed). This updates the Edit Build Plan page so that steps with invalid implementations can be deleted.

Test Plan

Looked at a build plan with invalid configurations and deleted it's steps.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Seems reasonable to me.

src/applications/harbormaster/controller/HarbormasterPlanViewController.php
99

Maybe put the (presumed bad) implementation class into the message? Might help debug things.