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)
Wed, Jan 29, 10:04 AM
Unknown Object (File)
Tue, Jan 21, 9:00 AM
Unknown Object (File)
Mon, Jan 20, 11:01 AM
Unknown Object (File)
Sun, Jan 12, 11:45 PM
Unknown Object (File)
Fri, Jan 10, 7:08 AM
Unknown Object (File)
Dec 30 2024, 9:33 AM
Unknown Object (File)
Dec 21 2024, 5:31 AM
Unknown Object (File)
Dec 20 2024, 5:51 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.