Page MenuHomePhabricator

Edit Interfaces in Almanac with EditEngine
ClosedPublic

Authored by epriestley on Apr 10 2018, 1:17 PM.
Tags
None
Referenced Files
F19096931: D19324.id.diff
Dec 4 2025, 11:38 AM
F19093216: D19324.diff
Dec 3 2025, 8:51 PM
F18901431: D19324.id46230.diff
Nov 7 2025, 10:01 PM
F18865268: D19324.id.diff
Nov 3 2025, 11:33 AM
F18862858: D19324.diff
Nov 2 2025, 9:18 PM
F18799050: D19324.diff
Oct 17 2025, 10:58 AM
F18780267: D19324.id.diff
Oct 12 2025, 5:14 AM
F18725197: D19324.diff
Sep 30 2025, 4:54 AM
Subscribers
None

Details

Summary

Depends on D19323. Ref T13120. Ref T12414.

Move editing to modern stuff and fix some implementation errors from D19323 (mostly copy/paste stuff).

Test Plan
  • Created and edited interfaces.
  • Tried to create/edit an interface with a bogus/empty address/port, got errors.
  • Tried to create an interface on a bogus device, got an error.
  • Tried to create an interface on a device I could not edit, got an error.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

amckinley added inline comments.
src/applications/almanac/editor/AlmanacInterfaceEditEngine.php
136

No need to cast to int here?

This revision is now accepted and ready to land.Apr 10 2018, 4:01 PM
src/applications/almanac/editor/AlmanacInterfaceEditEngine.php
136

It ultimately gets forced into an int in the validation/transaction layers before being written anywhere.

This revision was automatically updated to reflect the committed changes.