<div dir="ltr">Try adding a commit() after the delete.<div><br></div><div><span style="font-size:12.8px">declare(“Tags.*”, null, {value: false});</span><br></div><div><span style="font-size:12.8px">commit();</span></div><div><span style="font-size:12.8px">declare(“Tags.some_new_tag”, null, {value: true});</span><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 17, 2017 at 6:22 PM, David White <span dir="ltr"><<a href="mailto:david.white@trustpower.co.nz" target="_blank">david.white@trustpower.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi there,<br>
         Can anyone please confirm the expected behaviour here.<br>
<br>
I have a provision where I’m trying to delete all tags then apply a tag.<br>
<br>
I would expect the following to work (but it doesn’t)<br>
<br>
declare(“Tags.*”, null, {value: false});<br>
declare(“Tags.some_new_tag”, null, {value: true})<br>
<br>
It removes all tags, but doesn’t apply the new tag. If I do this manually and specify each tag to remove, then add a tag - it works.<br>
<br>
Cheers,<br>
<br>
David White<br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------------<br>
The contents of this email and any attachments are confidential and may be privileged.  If you are not the intended recipient, you may not use, copy or disclose this email or its attachments.  Please notify the sender immediately by e-mail if you have received this e-mail in error and delete both emails from your system.  It is your responsibility to check this email and any attachments for viruses or other harmful code before opening or sending on.  Trustpower Limited and its subsidiaries (collectively, Trustpower) accepts no responsibility for any such virus or any effects of a virus on your systems or data.  Trustpower does not endorse anything in this email that is not related to its official business.<br>
<br>
Please think of the environment before printing this email.<br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------------<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div>