{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/15869","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/15869/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/15869/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/15869/events","html_url":"https://github.com/odoo/odoo/issues/15869","id":214154469,"number":15869,"title":"Error \"Document does not comply with schema\" should name the faulty XML file.","user":{"login":"sylnsr","id":4071106,"avatar_url":"https://avatars1.githubusercontent.com/u/4071106?v=3","gravatar_id":"","url":"https://api.github.com/users/sylnsr","html_url":"https://github.com/sylnsr","followers_url":"https://api.github.com/users/sylnsr/followers","following_url":"https://api.github.com/users/sylnsr/following{/other_user}","gists_url":"https://api.github.com/users/sylnsr/gists{/gist_id}","starred_url":"https://api.github.com/users/sylnsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylnsr/subscriptions","organizations_url":"https://api.github.com/users/sylnsr/orgs","repos_url":"https://api.github.com/users/sylnsr/repos","events_url":"https://api.github.com/users/sylnsr/events{/privacy}","received_events_url":"https://api.github.com/users/sylnsr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-14T17:50:12Z","updated_at":"2017-06-19T12:22:41Z","closed_at":null,"body":"Impacted versions: 10\r\n\r\nSteps to reproduce: Create a module with at least one view XML file that has a non compliant schema\r\n\r\nCurrent behavior: Produces error with Traceback (limited) showing at the end \"AssertionError: Document does not comply with schema\"\r\n\r\nExpected behavior: It should indicate the document which caused the AssertionError, for example: \"\r\nAssertionError: Document does not comply with schema: `<path-to-add-on>/views/foo.xml`\""},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/309423758","html_url":"https://github.com/odoo/odoo/issues/15869#issuecomment-309423758","issue_url":"https://api.github.com/repos/odoo/odoo/issues/15869","id":309423758,"user":{"login":"mart-e","id":564822,"avatar_url":"https://avatars0.githubusercontent.com/u/564822?v=3","gravatar_id":"","url":"https://api.github.com/users/mart-e","html_url":"https://github.com/mart-e","followers_url":"https://api.github.com/users/mart-e/followers","following_url":"https://api.github.com/users/mart-e/following{/other_user}","gists_url":"https://api.github.com/users/mart-e/gists{/gist_id}","starred_url":"https://api.github.com/users/mart-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mart-e/subscriptions","organizations_url":"https://api.github.com/users/mart-e/orgs","repos_url":"https://api.github.com/users/mart-e/repos","events_url":"https://api.github.com/users/mart-e/events{/privacy}","received_events_url":"https://api.github.com/users/mart-e/received_events","type":"User","site_admin":false},"created_at":"2017-06-19T12:22:41Z","updated_at":"2017-06-19T12:22:41Z","body":"But you do have file. The server logs something like\r\n\r\n```\r\n2017-06-19 12:20:56,097 30577 INFO 10c odoo.modules.loading: loading my_module/views/good_view.xml\r\n2017-06-19 12:20:56,505 30577 INFO 10c odoo.modules.loading: loading my_module/views/bad_view.xml\r\n2017-06-19 12:20:56,506 30577 INFO 10c odoo.tools.convert: The XML file does not fit the required schema !\r\n...\r\n```\r\n"}}
{"actor":{"display_login":"mart-e"}}