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
F18739146: D7708.id.diff
Wed, Oct 1, 8:02 PM
F18626449: D7708.diff
Tue, Sep 16, 1:17 AM
F18605913: D7708.diff
Sat, Sep 13, 9:38 PM
F18589230: D7708.id17411.diff
Fri, Sep 12, 2:54 AM
F18589094: D7708.id17410.diff
Fri, Sep 12, 2:25 AM
F18588209: D7708.id17410.diff
Thu, Sep 11, 11:35 PM
F18588049: D7708.id.diff
Thu, Sep 11, 11:10 PM
F18587931: D7708.id.diff
Thu, Sep 11, 10:50 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

Branch
resiliance
Lint
Lint Passed
Unit
No Test Coverage

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.