fix: network map remove + auto-layout 404 fix (release 1.0.9) #13

Merged
domuk merged 1 commit from fix/network-map-drag into main 2026-08-22 15:28:04 +01:00
Owner

Problem

Removing a service from the map and running auto-layout both 404 because they call PATCH /network-node-positions (no :id) which does not exist.

Fix

Changed removeFromMap.js and autoLayout.js to use api.put (hits PUT /network-node-positions upsert-by-stableKey).

Tests

151 server tests pass. Client build clean.

## Problem Removing a service from the map and running auto-layout both 404 because they call PATCH /network-node-positions (no :id) which does not exist. ## Fix Changed removeFromMap.js and autoLayout.js to use api.put (hits PUT /network-node-positions upsert-by-stableKey). ## Tests 151 server tests pass. Client build clean.
removeFromMap.js and autoLayout.js called api.patch('/network-node-positions', {...})
but the server has no PATCH /network-node-positions route (only PATCH /:id).
Changed to api.put which hits the PUT upsert-by-stableKey route.

This caused 404 when removing services from the map or running auto-layout.
domuk merged commit c6246e743e into main 2026-08-22 15:28:04 +01:00
domuk deleted branch fix/network-map-drag 2026-08-22 15:28:05 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
domuk/Ion-HomeLab!13
No description provided.