wireplanner/internal/handlers
Joca 3e20caa2d9
Fix ConnectionEdit silently NULLing out port references
The edit handler was fetching the connection twice but never using the
result, then constructing a new Connection struct without PortID1/PortID2
fields. The DB update would write NULL into both port columns, severing
the cable from both ends. Now the handler fetches the existing row once
and updates only the submitted metadata fields in place.
2026-06-09 18:49:46 -03:00
..
connections.go Fix ConnectionEdit silently NULLing out port references 2026-06-09 18:49:46 -03:00
devices.go Initial commit: Go + HTMX network mapping tool 2026-06-03 23:11:15 -03:00
handlers.go Initial commit: Go + HTMX network mapping tool 2026-06-03 23:11:15 -03:00
models.go Initial commit: Go + HTMX network mapping tool 2026-06-03 23:11:15 -03:00
overview.go Initial commit: Go + HTMX network mapping tool 2026-06-03 23:11:15 -03:00
racks.go Connection modal properly refreshes after create/edit/delete 2026-06-03 23:22:03 -03:00
wall_sockets.go Initial commit: Go + HTMX network mapping tool 2026-06-03 23:11:15 -03:00