mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-24 03:16:24 +00:00
1d17dd8fd5
CRITICAL DATA LOSS BUG FIX Problem: - User updates existing entity via bulk import - User clicks Reject - EXPECTED: Entity reverts to old values - ACTUAL: Entity is COMPLETELY DELETED! Root Cause: Reject logic tracked ALL bulk import entities for force deletion. Did not distinguish between CREATE and UPDATE operations. Fix: Added operation check - only track CREATE operations for force deletion. UPDATE operations are rolled back, not deleted. Impact: - CREATE scenarios: No change in behavior - UPDATE scenarios: Data loss prevented - Mixed CREATE+UPDATE: Only CREATE entities deleted - Rollback failures: Safety mechanism preserved Files Changed: - backend/routers/cluster.py: Line 4494 added operation check