Discussions removed from a queue still show in the queue when using the API
I have a discussion in a queue, and I remove it like this:
http://api.tenderapp.com/mekentosj/discussions/13105610/unqueue?queue=42410
I get a 200 back with an empty body. Then when I fetch the discussions in that queue it still shows up:
http://api.tenderapp.com/mekentosj/queues/42410/discussions
The discussion doesn't show up under that queue in the web interface, however.
I'm authenticating using X-Tender-Auth
and sending
application/vnd.tender-v1+json
for the
Accept
header.
Thanks
Discussions are closed to public comments.
If you need help with Tender 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
1 Posted by Alex on 07 Jan, 2014 01:45 PM
I just tried
http://api.tenderapp.com/mekentosj/queues/41997/discussions?cache=1389102178913
and found I got different results back, so do you think I could be hitting some caching issues somewhere?2 Posted by Julien on 07 Jan, 2014 06:21 PM
Hey Alex,
This could be a caching issue, though I looked at the code, the caches etc, and it should not happen as the first call expires the right caches synchronously. Was this a one time thing, or can you reproduce it consistently?
3 Posted by Alex Young on 07 Jan, 2014 09:27 PM
It seems to happen a lot, I noticed it because I thought I was using the
API incorrectly when adding the filter parameter (like discussions/assigned)
4 Posted by Julien on 07 Jan, 2014 11:17 PM
Hey Alex,
After much digging, I think I finally found the cause of this. Now I need to actually write a fix. I'll get back to you when it's deployed, sometime during the week.
5 Posted by Alex Young on 08 Jan, 2014 10:32 AM
Thanks!
6 Posted by Julien on 08 Jan, 2014 08:18 PM
Hey Alex,
This should be fixed now.
Let me know if you still experience issues.
Cheers!
Julien closed this discussion on 16 Jan, 2014 09:02 PM.