Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Incorrect ReqId returned for cached queries. #17

Open
pfrisella opened this issue Nov 14, 2013 · 4 comments
Open

Incorrect ReqId returned for cached queries. #17

pfrisella opened this issue Nov 14, 2013 · 4 comments
Labels

Comments

@pfrisella
Copy link
Member

When requesting the data table response format this can cause the order of charts to change or timeout.

@WilfridLi
Copy link

I can't believe this issue hasn't been touched for over 6 months...
Anyway, the solution to this issue is:

  • Open query_helper.py
  • Go to the method 'GetPublicEndpointResponse'
  • In line 395, you should see 'transformed_response_content = response.get('transformed_content')'
  • Change that line to: 'transformed_response_content = transform.Transform(response_content)'
  • Test/Deploy updates

This fix will ensure every query responds with the correct ReqId each and everytime, regardless of cache or not.

@ghost
Copy link

ghost commented Oct 28, 2014

It works! Thank you

@Akhaides
Copy link

usable

@mike-sfg
Copy link

Thank you @WilfridLi ! I spent hours trying to troubleshoot this and your solution worked. I would like to see this fixed in the repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants