{"action":"closed","issue":{"url":"https://api.github.com/repos/CDLUC3/dmptool/issues/130","labels_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/130/comments","events_url":"https://api.github.com/repos/CDLUC3/dmptool/issues/130/events","html_url":"https://github.com/CDLUC3/dmptool/issues/130","id":97152598,"number":130,"title":"Requesting a specific plan with related attributes by direct API fails","user":{"login":"stephaniesimms","id":12703638,"avatar_url":"https://avatars.githubusercontent.com/u/12703638?v=3","gravatar_id":"","url":"https://api.github.com/users/stephaniesimms","html_url":"https://github.com/stephaniesimms","followers_url":"https://api.github.com/users/stephaniesimms/followers","following_url":"https://api.github.com/users/stephaniesimms/following{/other_user}","gists_url":"https://api.github.com/users/stephaniesimms/gists{/gist_id}","starred_url":"https://api.github.com/users/stephaniesimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephaniesimms/subscriptions","organizations_url":"https://api.github.com/users/stephaniesimms/orgs","repos_url":"https://api.github.com/users/stephaniesimms/repos","events_url":"https://api.github.com/users/stephaniesimms/events{/privacy}","received_events_url":"https://api.github.com/users/stephaniesimms/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CDLUC3/dmptool/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/CDLUC3/dmptool/labels/high%20priority","name":"high priority","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-24T21:39:09Z","updated_at":"2015-09-28T20:25:26Z","closed_at":"2015-09-28T20:25:26Z","body":"Because of bug #129 the API calls below are unusable since it is impossible to obtain a correct plan ID (randomly guessing ID is not a solution).\r\n\r\nTo reproduce the bug:\r\n1) Log into the DMPTool as institutional admin.\r\n\r\n2) Call the following documented API https://github.com/CDLUC3/dmptool/wiki/API#for-a-specific-plan-with-all-related-attributes-this-api-request-requires-authentication either by direct CURLing or pasting into the browser:\r\n$ curl -H \"Authorization: Token token=token_number\" https://dmptool.org/api/v1/plans_full/:id\r\n\r\nexpected result: The call returns a specific institutional plan (per ID number) with all related attributes.\r\n\r\nactual result: The call returns the message \"The plan you are looking for doesn't exist\" (most of the randomly tested id-numbers don't refer to actual plans)."}}