mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-18 16:45:19 +00:00
c2379bfa88
CRITICAL BUG - use_backend Rules Missing from UI:
Issue:
- Parser extracts use_backend rules
- Backend response includes them (after e3a6470 fix)
- But UI doesn't display them in parse preview
- User can't see routing rules before importing
Root Cause (BulkConfigImport.js Line 703-709):
UI displays:
ACL Rules ✓
Request Headers ✓
Response Headers ✓
TCP Rules ✓
use_backend Rules ✗ (MISSING!)
Fix Applied:
Added use_backend_rules display section (Line 710-718)
Shows: Backend Routing Rules (X)
Format: Same as ACL rules (Text code display)
UI Preview Now Shows:
ACL Rules (8):
acl Elasticsearch hdr(host) -i elastic.com
acl Kibana hdr(host) -i kibana.com
Backend Routing Rules (8):
use_backend Elasticsearch if Elasticsearch
use_backend Kibana if Kibana
Complete Fix Summary (3 parts):
1. e3a6470: Bulk-create INSERT query
2. e3a6470: Parse-bulk response data
3. THIS: Frontend UI display
All three parts now fixed - use_backend rules work end-to-end