:DELETE_VAR can access read-only variables in client 0
Investigation:
-Create a VARA named MYVAR in client 0 with 2 keys (KEY1,KEY2) and some values
-Choose the radio button "Share and allow read-only access
-Create a script in on other active client:
!!!!
:set &var0# = GET_VAR(MYVARA,KEY1,2)
:p &var0#
:PUT_VAR "MYVARA","KEY3","VALUE1","VALUE2"
:DELETE_VAR "MYVARA", "KEY2"
!!!!
-Run the script
While the values of the shared variable are accessible by GET_VAR, it is not possible to add to the variable, but it is possible to remove lines from the variable with :DELETE_VAR
Release : 12.3
Component : AUTOMATION ENGINE
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation Engine
Automation.Engine 12.3.3 - Available