AdminUI equipment page: Remove reference / Delete virtual tag buttons do nothing outside the Alarms tab #832

Closed
opened 2026-11-11 00:48:15 -05:00 by dohertj2 · 1 comment
Owner

Found during the #803 docker-dev live gate (predates it; origin a4cdedc3). On /uns/equipment/{id}, the Tags tab's Remove (tag reference) and the virtual-tag Delete buttons appear to do nothing. The shared <RawConfirmDialog …> in src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor (~lines 317-318) sits inside the else if (_activeTab == "alarms") branch (~260-319), so it renders only on the Alarms tab. Repro: Tags tab → Remove → nothing; switch to Alarms → the pending "Remove reference" confirm is there. Fix: render the dialog outside the tab branches; live-verify (no bUnit).

Found during the #803 docker-dev live gate (predates it; origin a4cdedc3). On `/uns/equipment/{id}`, the Tags tab's **Remove** (tag reference) and the virtual-tag **Delete** buttons appear to do nothing. The shared `<RawConfirmDialog …>` in `src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor` (~lines 317-318) sits inside the `else if (_activeTab == "alarms")` branch (~260-319), so it renders only on the Alarms tab. Repro: Tags tab → Remove → nothing; switch to Alarms → the pending "Remove reference" confirm is there. Fix: render the dialog outside the tab branches; live-verify (no bUnit).
dohertj2 added the type:bugpriority:p2 labels 2026-11-11 00:48:15 -05:00
Author
Owner

Fixed (merge 2a87d96f). Pushed to master in d1b6cad2. The confirm dialog moved out of the Alarms tab, so Remove reference / Delete virtual tag work on every tab; verified live.

Fixed (merge `2a87d96f`). Pushed to master in `d1b6cad2`. The confirm dialog moved out of the Alarms tab, so Remove reference / Delete virtual tag work on every tab; verified live.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#832