mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-19 09:05:43 +00:00
ac5ba4dc58
CRITICAL BUG FIX: SSL advanced options were not being returned by GET API Problem: - Database has ssl_alpn, ssl_npn, ssl_ciphers, etc. columns ✅ - Response builder tries to access them (Line 341-347) ✅ - BUT SELECT statements did NOT include these fields ❌ - Result: f.get('ssl_alpn') returned None for all frontends Impact: - Frontend Edit modal always showed empty SSL advanced options fields - User edits would overwrite existing values with NULL - Data loss on every frontend edit! Solution: - Added all 7 SSL advanced options to ALL 6 SELECT queries: 1. cluster_id filter (line 174) 2. cluster_id fallback (line 190) 3. global include_inactive=True (line 219) 4. global include_inactive=False (line 231) 5. global fallback include_inactive=True (line 246) 6. global fallback include_inactive=False (line 258) Testing: - Added debug console.log for SSL advanced options (line 551-559) - After deployment, check browser console for 'SSL ADVANCED OPTIONS DEBUG' - Should now show: ssl_alpn: 'h2,http/1.1' etc. Files Changed: - backend/routers/frontend.py: All 6 SELECT statements - frontend/src/components/FrontendManagement.js: Debug logging