Posting a new ticket with tags crashes, but works
|
|
Regarding the Lighthouse ruby framework, if I post a new ticket with something like:
I get an argument error in the ActiveResource internals “Expected Hash got ‘defect’”. But the odd thing is that the ticket makes it to lighthouse with the tag intact, but the script crashes. So currently I just wrapping it in in a begin/rescue ArgumentError block, but thats hardly any fun. Thanks for the recent update BTW, it rocks. |
|
|
Try it with the latest version of the API (changes). You can now manipulate tags as an array like this:
(be sure to get the absolute latest ActiveSupport and ActiveResource in vendor in the lighthouse api) |
|
|
Thank you much, that did the trick. |