{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/wakaama/issues/237","repository_url":"https://api.github.com/repos/eclipse/wakaama","labels_url":"https://api.github.com/repos/eclipse/wakaama/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/wakaama/issues/237/comments","events_url":"https://api.github.com/repos/eclipse/wakaama/issues/237/events","html_url":"https://github.com/eclipse/wakaama/issues/237","id":208463361,"number":237,"title":"Object read returns an error if no object instance exist","user":{"login":"fdur","id":11505399,"avatar_url":"https://avatars0.githubusercontent.com/u/11505399?v=3","gravatar_id":"","url":"https://api.github.com/users/fdur","html_url":"https://github.com/fdur","followers_url":"https://api.github.com/users/fdur/followers","following_url":"https://api.github.com/users/fdur/following{/other_user}","gists_url":"https://api.github.com/users/fdur/gists{/gist_id}","starred_url":"https://api.github.com/users/fdur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdur/subscriptions","organizations_url":"https://api.github.com/users/fdur/orgs","repos_url":"https://api.github.com/users/fdur/repos","events_url":"https://api.github.com/users/fdur/events{/privacy}","received_events_url":"https://api.github.com/users/fdur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-17T14:48:57Z","updated_at":"2017-03-14T09:00:27Z","closed_at":null,"body":"Each object can have one or several object instances (as indicated in LWM2M specification).\r\nIn software update specification ([object 9](http://member.openmobilealliance.org/ftp/Public_documents/DM/LightweightM2M/Permanent_documents/OMA-TS-LWM2M_SwMgmt-V1_0-20151201-C.zip)), this object can support one or several object instance.\r\nAs indicated in §6: \r\n\r\n> Each software component is managed via a dedicated Software Management Object instance\r\n\r\nIf no software component is managed, this object does not have any object instance.\r\nIf a READ command is received on object 9 while no object instance exist, Wakaama returns `COAP_404_NOT_FOUND`\r\nFrom my point of view, in this case, Wakaama needs to return `COAP_205_CONTENT`with empty payload"},"comment":{"url":"https://api.github.com/repos/eclipse/wakaama/issues/comments/286360144","html_url":"https://github.com/eclipse/wakaama/issues/237#issuecomment-286360144","issue_url":"https://api.github.com/repos/eclipse/wakaama/issues/237","id":286360144,"user":{"login":"dnav","id":1805502,"avatar_url":"https://avatars3.githubusercontent.com/u/1805502?v=3","gravatar_id":"","url":"https://api.github.com/users/dnav","html_url":"https://github.com/dnav","followers_url":"https://api.github.com/users/dnav/followers","following_url":"https://api.github.com/users/dnav/following{/other_user}","gists_url":"https://api.github.com/users/dnav/gists{/gist_id}","starred_url":"https://api.github.com/users/dnav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnav/subscriptions","organizations_url":"https://api.github.com/users/dnav/orgs","repos_url":"https://api.github.com/users/dnav/repos","events_url":"https://api.github.com/users/dnav/events{/privacy}","received_events_url":"https://api.github.com/users/dnav/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T09:00:27Z","updated_at":"2017-03-14T09:00:27Z","body":"Reopen following @jvermillard comment:\r\n> This fix doesn't work because the content format is NULL so the server can't parse the payload as a TLV.\r\nAlso if the server read as JSON wwe should have \"{}\" and not an empty payload. IMO We should add the @fdur fix\r\n"}}
{"actor":{"display_login":"dnav"}}