{"action":"created","issue":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/2075","repository_url":"https://api.github.com/repos/telefonicaid/fiware-orion","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/2075/labels{/name}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/2075/comments","events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/2075/events","html_url":"https://github.com/telefonicaid/fiware-orion/issues/2075","id":150378253,"number":2075,"title":"in Update requests /v2/entities/<id>/attrs if id has a #, returns a 405, but without payload in the response","user":{"login":"iariasleon","id":4330098,"avatar_url":"https://avatars.githubusercontent.com/u/4330098?v=3","gravatar_id":"","url":"https://api.github.com/users/iariasleon","html_url":"https://github.com/iariasleon","followers_url":"https://api.github.com/users/iariasleon/followers","following_url":"https://api.github.com/users/iariasleon/following{/other_user}","gists_url":"https://api.github.com/users/iariasleon/gists{/gist_id}","starred_url":"https://api.github.com/users/iariasleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iariasleon/subscriptions","organizations_url":"https://api.github.com/users/iariasleon/orgs","repos_url":"https://api.github.com/users/iariasleon/repos","events_url":"https://api.github.com/users/iariasleon/events{/privacy}","received_events_url":"https://api.github.com/users/iariasleon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/APIv2","name":"APIv2","color":"5319e7"},{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/must","name":"must","color":"f7c6c7"},{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/techdebt","name":"techdebt","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"iariasleon","id":4330098,"avatar_url":"https://avatars.githubusercontent.com/u/4330098?v=3","gravatar_id":"","url":"https://api.github.com/users/iariasleon","html_url":"https://github.com/iariasleon","followers_url":"https://api.github.com/users/iariasleon/followers","following_url":"https://api.github.com/users/iariasleon/following{/other_user}","gists_url":"https://api.github.com/users/iariasleon/gists{/gist_id}","starred_url":"https://api.github.com/users/iariasleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iariasleon/subscriptions","organizations_url":"https://api.github.com/users/iariasleon/orgs","repos_url":"https://api.github.com/users/iariasleon/repos","events_url":"https://api.github.com/users/iariasleon/events{/privacy}","received_events_url":"https://api.github.com/users/iariasleon/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/31","html_url":"https://github.com/telefonicaid/fiware-orion/milestones/1.3.0","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/31/labels","id":1745531,"number":31,"title":"1.3.0","description":"","creator":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":51,"state":"open","created_at":"2016-05-03T15:26:05Z","updated_at":"2016-06-23T10:58:52Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-04-22T14:04:25Z","updated_at":"2016-06-23T11:57:12Z","closed_at":null,"body":"in Update requests `/v2/entities/<id>/attrs` if id has a # , returns a 405, but without payload in the response.\r\n\r\n#### 1. PATCH  request\r\n```\r\nPATCH http://localhost:1026/v2/entities/house_#/attrs\r\nContent-Type: application/json\r\nFiware-Service: test_update_entity_id\r\nFiware-ServicePath: /test\r\n{\"temperature_0\": {\"value\": \"80\"}, \"temperature_1\": {\"value\": \"80\"}}\r\n```\r\n\r\n#### 2. PUT request\r\n```\r\nPUT http://localhost:1026/v2/entities/house_#/attrs\r\nContent-Type: application/json\r\nFiware-Service: test_update_entity_id\r\nFiware-ServicePath: /test\r\n {\"pressure\": {\"value\": \"80\"}}\r\n```\r\n\r\n#### 3. POST request\r\n```\r\nPOST http://localhost:1026/v2/entities/house_#/attrs\r\nContent-Type: application/json\r\nFiware-Service: test_update_entity_id\r\nFiware-ServicePath: /test\r\n {\"humidity\": {\"value\": \"80\"}}\r\n```\r\n\r\n#### update response\r\n```\r\nhttp code: 405\r\ndate: Fri, 22 Apr 2016 13:45:46 GMT\r\nfiware-correlator: 8456f84c-0890-11e6-a3c3-005056a20feb\r\nconnection: Keep-Alive\r\ncontent-length: 0\r\nallow: GET, DELETE\r\n```\r\n\r\n#### expected response\r\n```\r\nhttp code: 405\r\n...\r\n{\"error\": \"methodNotAllowed\", \"description\": \"not defined yet\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/comments/228028255","html_url":"https://github.com/telefonicaid/fiware-orion/issues/2075#issuecomment-228028255","issue_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/2075","id":228028255,"user":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T11:57:12Z","updated_at":"2016-06-23T11:57:12Z","body":"Fixed by PR https://github.com/telefonicaid/fiware-orion/pull/2318. Please @iariasleon have a look and close it if you find it solved."}}
{"actor":{"display_login":"fgalan"}}