HomePhabricator

Fix cable validator to allow editing of existing cable

Description

Fix cable validator to allow editing of existing cable

The validator as currently implemented, when modifying an existing
cable, ends up getting itself back as a result of the query and
thinking it's a duplicate.

I'm sure more elegant ways to do this but this will prevent it
from detecting itself as a duplicate when modifying.

Bug: T310590
Change-Id: I81703d55a88a9ca6685d9723d6020bcadda6125f

Details

Provenance
cmooneyAuthored on Thu, May 25, 6:14 PM
Parents
rOSNEbcb245815a83: Validators: improve device name, add interface/outlet
Branches
Unknown
Tags
Unknown
References
HEAD -> master, refs/changes/06/923406/2
ChangeId
I81703d55a88a9ca6685d9723d6020bcadda6125f