Discussions removed from a queue still show in the queue when using the API

Alex's Avatar

Alex

07 Jan, 2014 01:31 PM

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

  1. 1 Posted by Alex on 07 Jan, 2014 01:45 PM

    Alex's Avatar

    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. 2 Posted by Julien on 07 Jan, 2014 06:21 PM

    Julien's Avatar

    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. 3 Posted by Alex Young on 07 Jan, 2014 09:27 PM

    Alex Young's Avatar

    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. 4 Posted by Julien on 07 Jan, 2014 11:17 PM

    Julien's Avatar

    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. 5 Posted by Alex Young on 08 Jan, 2014 10:32 AM

    Alex Young's Avatar

    Thanks!

  6. 6 Posted by Julien on 08 Jan, 2014 08:18 PM

    Julien's Avatar

    Hey Alex,

    This should be fixed now.

    Let me know if you still experience issues.

    Cheers!

  7. Julien closed this discussion on 16 Jan, 2014 09:02 PM.

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