Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 26-06-2015 at 09:06
Please, ANSWER this question AT http://stackoverflow.com/questions/31067223/invalid-characters-for-orion-context-broker
Question:
Invalid characters for orion Context Broker
Description:
I make some calls to context broker to create elements, but sometimes I get the following error:
{
"errorCode":
}
I have done some tests and I have discovered that there are some characters which you get that error.
I found that with "(", ")", "'", ">" , "<",... characters in the value of an attribute return that error.
This is an example of an entity creation that return the error :
(curl localhost:1026/v1/updateContext s -S --header 'Content-Type: application/json' --header 'Accept: application/json' -d @ | python -mjson.tool) <<EOF
{
"contextElements": [
{
"type": "Room",
"isPattern": "false",
"id": "Room1",
"attributes": [
,
,
{ "name": "floor", "type": "string", "value": "3 (B)" } ]
}
],
"updateAction": "APPEND"
}
EOF
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
1h 39m | 1 | Backlog Manager | 28/Sep/15 3:04 PM | |||||
|
33m 56s | 1 | Backlog Manager | 28/Sep/15 3:38 PM | |||||
|
8h 26m | 1 | Backlog Manager | 29/Sep/15 12:04 AM |
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | Orion [ 10875 ] | |
HD-Chapter | Data [ 10838 ] |
Summary | FIWARE.Question.Tech.Data.Invalid characters for orion Context Broker | FIWARE.Question.Tech.Data.OrionContextBroker.InvalidCharactersForOrionCB |
Summary | FIWARE.Question.Lab.Invalid characters for orion Context Broker | FIWARE.Question.Tech.Data.Invalid characters for orion Context Broker |
Assignee | Fermín Galán [ fermin ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
2015-09-29 00:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True