Skip to content

Commit

Permalink
Merge pull request #747 from FIWARE/hardening/troe-test-post-entity
Browse files Browse the repository at this point in the history
hardening/troe-test-post-entity
  • Loading branch information
kzangeli committed Mar 7, 2021
2 parents f101aee + f194b89 commit 08edc4c
Show file tree
Hide file tree
Showing 3 changed files with 1,392 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/orionld/kjTree/kjTreeToUpdateContextRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ static bool kjTreeToContextElementAttributes
continue;
else if (SCOMPARE8(itemP->name, 'm', 'o', 'd', 'D', 'a', 't', 'e', 0))
continue;
else if (SCOMPARE10(itemP->name, 'c', 'r', 'e', 'a', 't', 'e', 'd', 'A', 't', 0))
continue;
else if (SCOMPARE11(itemP->name, 'm', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 'A', 't', 0))
continue;
else if (itemP->type != KjObject) // No key-values in batch ops - all attrs must be objects (except special fields 'creDate' and 'modDate')
{
LM_E(("Attribute '%s' is not a KjObject, but a '%s'", itemP->name, kjValueType(itemP->type)));
Expand Down
Loading

0 comments on commit 08edc4c

Please sign in to comment.