Callback behavior changed
Hi - it looks like the callback handler behavior changed when un-assigning a user from a ticket. Previously the callback would return "null" for assigned_user_name; now the assigned_user_name element is omitted (which unfortunately breaks our app badly). Can we be notified when changes like this are happening to the api?
Thanks!
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tiger Team on 11 Jan, 2013 12:39 AM
There was an emergency rails security hole that forced our hand, unfortunately. It wasn't supposed to break anything.
Support Staff 2 Posted by Tiger Team on 11 Jan, 2013 12:40 AM
Can you give me the exact xml you're looking for/what it used to look like?
3 Posted by Joe Keeley on 11 Jan, 2013 12:44 AM
Sure! (Yeah been a fun day with that huh? Been dealing with that on this end too).
So, here's an example of what we received previously:
Notice the assigned_user_name in there. Now it is being omitted.
Support Staff 4 Posted by Tiger Team on 11 Jan, 2013 01:53 AM
So weirdly enough I can't reproduce this on an older version of our code and gems!
Do you know when exactly it broke? Are you sure your code didn't change?
The crazy thing is, here's what our actual json/xml generator looks like:
i.e. if that thing is nil, don't put it in the xml/json dump. This code hasn't changed in, like, ever.
5 Posted by Joe Keeley on 11 Jan, 2013 04:55 PM
Hi Courtenay - my apologies - I investigated further and it looks like I updated that test case manually to make sure we covered it, but it didn't match how you send the data back. Having one of those "how did this ever work" moments...anyway we'll adjust to handle it correctly knowing this. Thank you for the quick reply.
Support Staff 6 Posted by Tiger Team on 11 Jan, 2013 05:52 PM
I have those every day! comes from having a code base going back to 2007. Heh.
brandi closed this discussion on 18 Jan, 2013 06:37 PM.