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
Unknown Object (File)
Sat, Dec 21, 5:31 AM
Unknown Object (File)
Fri, Dec 20, 5:51 PM
Unknown Object (File)
Tue, Dec 17, 8:30 PM
Unknown Object (File)
Tue, Dec 17, 6:49 AM
Unknown Object (File)
Sat, Dec 14, 3:02 PM
Unknown Object (File)
Tue, Dec 10, 7:12 AM
Unknown Object (File)
Mon, Dec 9, 12:06 PM
Unknown Object (File)
Wed, Dec 4, 6:16 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

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.