Closed fisuda closed 3 years ago
ok! I reproduced the bug - should be an easy fix. It's weird, I have a functest doing something quite similar and it's working just fine.
I believe PR #777 fixes the problem. However, github actions is really slow today ... the jobs for the PR are queued but not starting. Can't merge to develop until I've seen all jobs finish successfully.
Meanwhile, if you are in a hurry, change the Accept: application/ld+json
for Accept: application/json
- that should "neutralize" the bug.
Thanks for reporting!
Thank you for your prompt response. I'm not in hurry. After the new Docker image is created, I will test it.
I have confirmed that the bug has been fixed by #777.
HTTP/1.1 201 Created
Connection: Keep-Alive
Content-Length: 109
Content-Type: application/ld+json
Date: Sun, 28 Mar 2021 11:15:32 GMT
["urn:ngsi-ld:TemperatureSensor:002","urn:ngsi-ld:TemperatureSensor:003","urn:ngsi-ld:TemperatureSensor:004"]
$ docker images | grep orion-ld
fiware/orion-ld 0.7-PRE-107 1a423b53e33a 16 minutes ago 979MB
Thanks!
The behavior of POST
/ngsi-ld/v1/entityOperations/create
seems to be changed between0.7-PRE-105
and0.7-PRE-106
. The response body is corrupted.The following is a test script to reproduce it.