I’m trying to do a simple search with filter:
localhost:8080/getJobsFilter?UserName=ggreenwalt
Error: Filter ‘ggreenwalt’ is not in the format (System.Exception)
What is the format?
I’m trying to do a simple search with filter:
localhost:8080/getJobsFilter?UserName=ggreenwalt
Error: Filter ‘ggreenwalt’ is not in the format (System.Exception)
What is the format?
If I type in “Newersname=ggreenwalt” it gives me the same error. So I must be doing something pretty fundamentally wrong.
Hey Gavin,
This is actually due to a the way the url arguments are currently parsed. Arguments can either be accepted as single values, or key-value pairs. For example, “?value” or “?key=value”. The problem with getJobsFilter is that the values it’s looking for are also key-value pairs.
So what’s happening is that our url parser is taking your “UserName=ggreenwalt” argument, treating it as a key value pair, and thus is only passing “ggreenwalt” to getJobsFilter. Unfortunately, “test=UserName=ggreenwalt” won’t work either because everything after the 2nd ‘=’ is thrown away.
We’ll have to tweak our code to use everything before the first ‘=’ as the key, and everything after it (including other ‘=’) as the value. Then the “test=UserName=ggreenwalt” workaround would work.
Thanks for bringing this to our attention. The problem will be addressed in the next release.
Cheers,