Werk #17868 · Nov 30, 26
Custom host attributes: Fix topic dropdown loss of tag group topics
When a user edits a custom host attribute under Setup > Hosts > Custom host attributes, the Topic dropdown also offers the topics of their host tag groups, including custom topics that were created there. Until now, whether those topics showed up depended on which web server process happened to answer the request. So a topic could vanish from the dropdown and reappear when the page was reloaded.
If the attribute's stored topic was missing from the dropdown, the dropdown preselected Basic settings. Saving the attribute then quietly moved it to Basic settings. This could also happen after deleting the last host tag group with that topic.
The dropdown now always offers the built-in topics, the topics of all configured host tag groups and the topics of all custom host attributes, including the attribute's own. Saving no longer changes the topic unless a different one is picked.
A custom host attribute stores only an internal identifier for its topic, not the topic's
title. If no host tag group uses a custom topic anymore, its original title is therefore no
longer known, and the title shown in the dropdown and on the host properties page can differ
from it. For example, the topic Custom TG topic is then shown as Custom tg topic. Before,
this title depended on the web server process: some showed the original title, others one like
Custom_Tg_Topic.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions