On Sat, 2008-03-08 at 19:22 +0100, Carsten Hey wrote:
> On Sat, Mar 08, 2008 at 05:57:05PM +0000, Adam D. Barratt wrote:
> > As discussed on IRC, "bts select" doesn't currently accept "usertags" as
> > a supported key; you want "users:[EMAIL PROTECTED] tags:bar".
>
> An alias would be nice :)
Yeah, added in svn :)
> > Does it make any difference which values of "users" and "usertag" you
> > use?
>
> No, it does not:
[...]
> 4:[EMAIL PROTECTED]:~> bts select users:[EMAIL PROTECTED]
> usertag:thistagdoesnotexist
> Can't use string ("") as a HASH ref while "strict refs" in use at
> /usr/bin/bts line 890.
I've managed to track this down. The reason more recent versions of bts
don't report an issue in this case is because the SOAP functionality was
moved in to its own module, which wasn't "use strict"; it is now.
This and the other issue you mentioned on IRC ("bts select user : foo"
returning an error) are now fixed in SVN. The latter was caused by the
options not being key:value pairs. I've modified the code to skip items
that don't have a value specified and output a warning for unrecognised
keys.
I'll also be adding proper fault handling to the SOAP method calls so
you get a useful message rather than simply "an error occurred".
Regards,
Adam
--
To unsubscribe, send mail to [EMAIL PROTECTED]