- 
    
Problem report
 - 
    Resolution: Fixed
 - 
    
Trivial
 - 
    6.0.5, 6.0.6rc1, 6.2.0rc1
 
- 
        Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
 - 
        0.25
 
Steps to reproduce:
- Import attached host and template;
 - Copy the first three macros from the template and add them as "Secret text";
 - Create Discovery Rule( type Zabbix agent, key: vfs.file.contents[ PATH TO THIS FILE discovery.txt]
 - Create host prototype with name :
host_{#KEY} 
- Run Zabbix server;
 - Observe when new hosts are created;
 - Clone or full clone one of the discovery created hosts;
 - Observe and do not close warning:"The cloned host contains user-defined macros with type "Secret text". The value and type of these macros were reset."
 - Got to the "Macros" section and remove empty macros;
 - Go to the "Inherited and host macros" section;
 - Choose some template macros with secret text and press "Change"
 - Go back to the "Host Macros" sections and press the "Add" button;
 - Change browsers resolution lower than 1080p;
 - Observe additional error message.
 
Result:
![]()
Expected
The warning message doesn't overlay the error message.
![]()