Closed miton18 closed 5 years ago
Attributes are only set as a whole so yes this is the expected behavior
Sorry, don't understand... In a GTS instance, on an WarpScript context:
{ 'attr' '' } RELABEL
{ 'attr' '' } SETATTRIBUTES
{ 'attr' NULL } RELABEL
{ 'attr' NULL } SETATTRIBUTES
Even if the data structure for Attributes and Labels are differents, Why SETATTRIBUTES
function cannot handle NULL value as empty string one ?
The NULL value was incorrectly rejected due to a misplaced check.
You should have received an exception saying arguments were not STRING.
Fixed now, thanks for the catch.
Thx @hbs :-)
In WarpScript, it's possible to
RELABEL
a GTS with aNULL
value, this action drop the label from the GTS.It seems not possible to do the same thing with
SETATTRIBUTES
, is it an expected behaviour ?Quantum example