You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/27 01:33:16 UTC

[GitHub] [apisix] tzssangglass opened a new issue #2862: request help: the key of the json in response_body is unordered

tzssangglass opened a new issue #2862:
URL: https://github.com/apache/apisix/issues/2862


   ### Issue description
   In a response body, if the body is in json format, the order of keys in json is unordered.
   As a result, when executing test cases, many test cases that define the full response_body content or one that contains multiple keys fail to execute.
   As follows
   ![QQ图片20201127092252](https://user-images.githubusercontent.com/30819887/100400645-348dd180-3092-11eb-86a1-a3a1c4ce8789.png)
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):master laster
   * OS:centos7
   * OpenResty:1.19.3.1-1.el7
   * Test::Nginx:0.29
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #2862: request help: the key of the json in response_body is unordered

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2862:
URL: https://github.com/apache/apisix/issues/2862


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #2862: request help: the key of the json in response_body is unordered

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #2862:
URL: https://github.com/apache/apisix/issues/2862#issuecomment-734529189


   It may be that the LuaJIT update in OpenResty:1.19.3.1 has caused the `jsonencode` results to change.
   This problem is fixed in apisix with the
   PR (no merge to master yet): https://github.com/apache/apisix/pull/2768
   
   Temporary Fix: Reduce the version of OpenResty.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander edited a comment on issue #2862: request help: the key of the json in response_body is unordered

Posted by GitBox <gi...@apache.org>.
spacewander edited a comment on issue #2862:
URL: https://github.com/apache/apisix/issues/2862#issuecomment-734532328


   #2768 can't be merged because there is a problem about the GitHub Action.
   We will merge it after the problem is solved.
   We are waiting for the solution.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #2862: request help: the key of the json in response_body is unordered

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2862:
URL: https://github.com/apache/apisix/issues/2862#issuecomment-734532328


   #2768 can't be merged because there is a problem about the GitHub Action.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass edited a comment on issue #2862: request help: the key of the json in response_body is unordered

Posted by GitBox <gi...@apache.org>.
tzssangglass edited a comment on issue #2862:
URL: https://github.com/apache/apisix/issues/2862#issuecomment-734529189


   It may be that the LuaJIT update in OpenResty:1.19.3.1 has caused the `jsonencode` results to change.
   This problem is fixed in apisix with the PR (no merge to master yet): https://github.com/apache/apisix/pull/2768
   
   Temporary Fix: Reduce the version of OpenResty.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org