Wed 30. Jul 2014, 22:29
Hi Rob,
we found an error in this particular query some days ago, originating from a double NULL value (the possibly non existing feature and the non existing override of the string value on any layer.)
The bug is already fixed and will be included in the 2.3.7 service release.
Currently I have no good workaround except using a special non empty string as default value in the property definition of 'secretName'
Just for info:
The Template(Equal, weapon) part is only required if the weapon feature is used in multiple templates. If not, testing for a feature's value implicitly includes an existence check.
If you only want to check for a single template using TemplateName = '<technical name of template>' is also possible and may be more intuitive to use.
Cheers
Peter