{"action":"created","issue":{"url":"https://api.github.com/repos/propelorm/Propel2/issues/852","labels_url":"https://api.github.com/repos/propelorm/Propel2/issues/852/labels{/name}","comments_url":"https://api.github.com/repos/propelorm/Propel2/issues/852/comments","events_url":"https://api.github.com/repos/propelorm/Propel2/issues/852/events","html_url":"https://github.com/propelorm/Propel2/pull/852","id":53493060,"number":852,"title":"Improved error message when external schema cannot be found","user":{"login":"mpscholten","id":2072185,"avatar_url":"https://avatars.githubusercontent.com/u/2072185?v=3","gravatar_id":"","url":"https://api.github.com/users/mpscholten","html_url":"https://github.com/mpscholten","followers_url":"https://api.github.com/users/mpscholten/followers","following_url":"https://api.github.com/users/mpscholten/following{/other_user}","gists_url":"https://api.github.com/users/mpscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/mpscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpscholten/subscriptions","organizations_url":"https://api.github.com/users/mpscholten/orgs","repos_url":"https://api.github.com/users/mpscholten/repos","events_url":"https://api.github.com/users/mpscholten/events{/privacy}","received_events_url":"https://api.github.com/users/mpscholten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-06T08:41:56Z","updated_at":"2015-01-08T11:42:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/propelorm/Propel2/pulls/852","html_url":"https://github.com/propelorm/Propel2/pull/852","diff_url":"https://github.com/propelorm/Propel2/pull/852.diff","patch_url":"https://github.com/propelorm/Propel2/pull/852.patch"},"body":"This improves the error message when you include an external schema which could not be found by propel. Currently you get the following error:\r\n\r\n```\r\nWarning: DOMDocument::load(): Empty string supplied as input\r\n```\r\n\r\nNow you get\r\n\r\n```\r\nUnable to find external schema 'my-external-schema.xml'\r\n```\r\n\r\nPropel applies `realpath` to the path given by the user. If `realpath` cannot resolve the given path it'll return `false`. Now `false` is given to `DOMDocument::load`, which logs a php warning because of invalid input.\r\n"},"comment":{"url":"https://api.github.com/repos/propelorm/Propel2/issues/comments/69168984","html_url":"https://github.com/propelorm/Propel2/pull/852#issuecomment-69168984","issue_url":"https://api.github.com/repos/propelorm/Propel2/issues/852","id":69168984,"user":{"login":"marcj","id":450980,"avatar_url":"https://avatars.githubusercontent.com/u/450980?v=3","gravatar_id":"","url":"https://api.github.com/users/marcj","html_url":"https://github.com/marcj","followers_url":"https://api.github.com/users/marcj/followers","following_url":"https://api.github.com/users/marcj/following{/other_user}","gists_url":"https://api.github.com/users/marcj/gists{/gist_id}","starred_url":"https://api.github.com/users/marcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcj/subscriptions","organizations_url":"https://api.github.com/users/marcj/orgs","repos_url":"https://api.github.com/users/marcj/repos","events_url":"https://api.github.com/users/marcj/events{/privacy}","received_events_url":"https://api.github.com/users/marcj/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T11:42:57Z","updated_at":"2015-01-08T11:42:57Z","body":"Ok, cool, thanks! :smiley: "}}