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)
Sun, Apr 14, 1:08 AM
Unknown Object (File)
Thu, Apr 11, 4:40 AM
Unknown Object (File)
Mon, Mar 25, 5:42 PM
Unknown Object (File)
Fri, Mar 22, 2:37 AM
Unknown Object (File)
Fri, Mar 22, 2:37 AM
Unknown Object (File)
Fri, Mar 22, 1:55 AM
Unknown Object (File)
Fri, Mar 22, 1:17 AM
Unknown Object (File)
Mar 16 2024, 7:22 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.