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
F13133386: D7708.id17410.diff
Wed, May 1, 9:46 PM
Unknown Object (File)
Mon, Apr 29, 11:24 PM
Unknown Object (File)
Mon, Apr 29, 9:36 PM
Unknown Object (File)
Sun, Apr 28, 4:12 AM
Unknown Object (File)
Sun, Apr 28, 4:12 AM
Unknown Object (File)
Sat, Apr 27, 1:34 PM
Unknown Object (File)
Thu, Apr 25, 3:19 AM
Unknown Object (File)
Fri, Apr 19, 3:29 AM

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.