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 :
- 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.