Precondition: server is running, in zabbix_server.conf file parameter EnableGlobalScripts=1
Steps to reproduce:
- Import the attached host myHost1 (host created in 6.0): myHost1_from6.0.yaml

- Observe a host myHost1 was created
- Host myHost1 has an item with one deprecated host inventory macro tag - {PROFILE.SERIALNO} - and one non-deprecated host inventory macro tag - {INVENTORY.SERIALNO.A}; it also has a trigger with the same tag values
- Create a script with Scope: Manual host action, Type: Script, Execute on: Zabbix proxy or server, Commands:
echo "New host inventory serial number A: {INVENTORY.SERIALNO.A} and old: {PROFILE.SERIALNO} " - In terminal execute:
./bin/zabbix_sender -z 127.0.0.1 -s myHost1 -k trap -o 10
- In frontend open Monitoring -> Problems, filter by host myHost1
- Find the high severity problem of this host, observe the tags - the item and trigger tags with non-deprecated macro tag values are resolved, but the deprecated ones are not resolved
- Click on the host name myHost1, in section Scripts click on myScript1, observe in the result - the non-deprecated macro value is resolved, but the deprecated one is not resolved
Result: the deprecated macros are not resolved
Expected: the deprecated macros should be resolved in these cases
In 6.0 there is no EnableGlobalScripts parameter in server file and the non-deprecated macro is also not resolved in script (step 8)