Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid @context in Link header for PATCH Entity #1016

Closed
kzangeli opened this issue Feb 7, 2022 · 0 comments
Closed

Invalid @context in Link header for PATCH Entity #1016

kzangeli opened this issue Feb 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kzangeli
Copy link
Collaborator

kzangeli commented Feb 7, 2022

Just spotted a functest that reveals a bug that I seem to have decided to ignore when TRoE was ignored:

troe_exhaustive_patch_attributes.test: Step 11

The Link header has a REGEX(.*), to let the bug stay alive ...

The @context in t he payload body is an array of ONE item:

  "@context": [ "https://raw.githubusercontent.com/FIWARE/tutorials.NGSI-LD/master/app/public/data-models/ngsi-context.jsonld" ],

If I make it a string instead, the test work just fine:

  "@context": "https://raw.githubusercontent.com/FIWARE/tutorials.NGSI-LD/master/app/public/data-models/ngsi-context.jsonld",
@kzangeli kzangeli added the bug Something isn't working label Feb 7, 2022
@kzangeli kzangeli self-assigned this Feb 7, 2022
kzangeli added a commit that referenced this issue Feb 7, 2022
@kzangeli kzangeli mentioned this issue Feb 7, 2022
8 tasks
kzangeli added a commit that referenced this issue Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant