{"action":"created","issue":{"url":"https://api.github.com/repos/graybeal/ont/issues/46","labels_url":"https://api.github.com/repos/graybeal/ont/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/graybeal/ont/issues/46/comments","events_url":"https://api.github.com/repos/graybeal/ont/issues/46/events","html_url":"https://github.com/graybeal/ont/issues/46","id":54843231,"number":46,"title":"Google Code skipped issue 31","user":{"login":"graybeal","id":1266896,"avatar_url":"https://avatars.githubusercontent.com/u/1266896?v=3","gravatar_id":"","url":"https://api.github.com/users/graybeal","html_url":"https://github.com/graybeal","followers_url":"https://api.github.com/users/graybeal/followers","following_url":"https://api.github.com/users/graybeal/following{/other_user}","gists_url":"https://api.github.com/users/graybeal/gists{/gist_id}","starred_url":"https://api.github.com/users/graybeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graybeal/subscriptions","organizations_url":"https://api.github.com/users/graybeal/orgs","repos_url":"https://api.github.com/users/graybeal/repos","events_url":"https://api.github.com/users/graybeal/events{/privacy}","received_events_url":"https://api.github.com/users/graybeal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graybeal/ont/labels/imported","name":"imported","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-20T04:41:45Z","updated_at":"2015-01-20T04:41:54Z","closed_at":"2015-01-20T04:41:46Z","body":"_Skipping this issue number to maintain synchronization with Google Code issue IDs._\n\n_Original issue: http://code.google.com/p/mmisw/issues/detail?id=31_"},"comment":{"url":"https://api.github.com/repos/graybeal/ont/issues/comments/70603853","html_url":"https://github.com/graybeal/ont/issues/46#issuecomment-70603853","issue_url":"https://api.github.com/repos/graybeal/ont/issues/46","id":70603853,"user":{"login":"graybeal","id":1266896,"avatar_url":"https://avatars.githubusercontent.com/u/1266896?v=3","gravatar_id":"","url":"https://api.github.com/users/graybeal","html_url":"https://github.com/graybeal","followers_url":"https://api.github.com/users/graybeal/followers","following_url":"https://api.github.com/users/graybeal/following{/other_user}","gists_url":"https://api.github.com/users/graybeal/gists{/gist_id}","starred_url":"https://api.github.com/users/graybeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graybeal/subscriptions","organizations_url":"https://api.github.com/users/graybeal/orgs","repos_url":"https://api.github.com/users/graybeal/repos","events_url":"https://api.github.com/users/graybeal/events{/privacy}","received_events_url":"https://api.github.com/users/graybeal/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T04:41:54Z","updated_at":"2015-01-20T04:41:54Z","body":"_From [paul.r.a...@gmail.com](https://code.google.com/u/104064418752273474769/) on November 06, 2008 14:15:59_\n\nI've traced this down, it's actually not that you can't search. The CF ontology in\r\nthe registry right now doesn't contain a term 'temperature'. The error we're seeing\r\nis that the front-end doesn't ignore empty returns from the back-end when parsing the\r\nsearch REST response. The REST call always returns the ontology id or ids that are\r\nbeing searched, which the front-end parses. Then the front end checks to see if the\r\nREST response was empty, which of course it wasn't. If it were empty we would get a\r\nmessage like 'No Search Results' but that won't ever happen.\r\n\r\nHere are some REST URLs for searching:\r\n-- This one doesn't return anything except the ontology id that's being searched http://mmisw.org/bioportal/rest/search/concepts/temperature?ontologies=1101 -- This one finds the term 'standard' in the CF ontology http://mmisw.org/bioportal/rest/search/concepts/standard?ontologies=1101 The trick is to get the front-end to ignore situations when nothing relevant is\r\nreturned (ie if it only returns an ontology id because it didn't actually find\r\nanything). This is complicated because you can potentially search multiple ontologies\r\nand get varying results on each. Ideally, I think the back-end should not return\r\nanything in the \\<searchresultbean> element if there aren't actually results.\n\n**Summary:** Front-end doesn't inform users that their search contained no results  \n"}}