netbox
netbox copied to clipboard
15390 cable path
Fixes: #15390
trace_paths signal handler needs to be called if CableTermination is updated effecting either cable or cable_end. Put in optimization logic as the signal is sent in Cable.save() which can create/update CableTermination so this would cause multiple redundant signal-handlers to be fired.
This PR has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further action is taken.
This PR has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further action is taken.
This PR has been automatically closed due to lack of activity.
@arthanson and I met to discuss this implementation. Two points came up:
- Back out the introduction of
no_tracepath_signalargument to thesave()anddelete()methods - CableTermination should always send the
trace_paths signal; receiver should handle conditional logic
This PR has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further action is taken.
This PR has been automatically closed due to lack of activity.