Deleting all tags - expected behaviour?

David White david.white at trustpower.co.nz
Tue Oct 17 22:22:59 EDT 2017


Hi there,
         Can anyone please confirm the expected behaviour here.

I have a provision where I’m trying to delete all tags then apply a tag.

I would expect the following to work (but it doesn’t)

declare(“Tags.*”, null, {value: false});
declare(“Tags.some_new_tag”, null, {value: true})

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.

Cheers,

David White



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

Please think of the environment before printing this email.

------------------------------------------------------------------------------------


More information about the Users mailing list