{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/3354","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/3354/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/3354/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/3354/events","html_url":"https://github.com/Codeception/Codeception/issues/3354","id":166763613,"number":3354,"title":"Invalid query parsing from sql file in Postgres","user":{"login":"StalkAlex","id":2943154,"avatar_url":"https://avatars.githubusercontent.com/u/2943154?v=3","gravatar_id":"","url":"https://api.github.com/users/StalkAlex","html_url":"https://github.com/StalkAlex","followers_url":"https://api.github.com/users/StalkAlex/followers","following_url":"https://api.github.com/users/StalkAlex/following{/other_user}","gists_url":"https://api.github.com/users/StalkAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/StalkAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StalkAlex/subscriptions","organizations_url":"https://api.github.com/users/StalkAlex/orgs","repos_url":"https://api.github.com/users/StalkAlex/repos","events_url":"https://api.github.com/users/StalkAlex/events{/privacy}","received_events_url":"https://api.github.com/users/StalkAlex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/Db","name":"Db","color":"bdc3c7"}],"state":"open","locked":false,"assignee":{"login":"Naktibalda","id":395992,"avatar_url":"https://avatars.githubusercontent.com/u/395992?v=3","gravatar_id":"","url":"https://api.github.com/users/Naktibalda","html_url":"https://github.com/Naktibalda","followers_url":"https://api.github.com/users/Naktibalda/followers","following_url":"https://api.github.com/users/Naktibalda/following{/other_user}","gists_url":"https://api.github.com/users/Naktibalda/gists{/gist_id}","starred_url":"https://api.github.com/users/Naktibalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naktibalda/subscriptions","organizations_url":"https://api.github.com/users/Naktibalda/orgs","repos_url":"https://api.github.com/users/Naktibalda/repos","events_url":"https://api.github.com/users/Naktibalda/events{/privacy}","received_events_url":"https://api.github.com/users/Naktibalda/received_events","type":"User","site_admin":false},"assignees":[{"login":"Naktibalda","id":395992,"avatar_url":"https://avatars.githubusercontent.com/u/395992?v=3","gravatar_id":"","url":"https://api.github.com/users/Naktibalda","html_url":"https://github.com/Naktibalda","followers_url":"https://api.github.com/users/Naktibalda/followers","following_url":"https://api.github.com/users/Naktibalda/following{/other_user}","gists_url":"https://api.github.com/users/Naktibalda/gists{/gist_id}","starred_url":"https://api.github.com/users/Naktibalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naktibalda/subscriptions","organizations_url":"https://api.github.com/users/Naktibalda/orgs","repos_url":"https://api.github.com/users/Naktibalda/repos","events_url":"https://api.github.com/users/Naktibalda/events{/privacy}","received_events_url":"https://api.github.com/users/Naktibalda/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-07-21T08:25:01Z","updated_at":"2016-07-27T05:14:16Z","closed_at":null,"body":"I have a db dump, there is query among others which gives error during loading before test.\r\n\r\nI checked this query in a console, it executes successfully. All xml code is in quotes as seen, so I guess problem is in line breaks of an xml string.\r\n\r\n```\r\n[Codeception\\Exception\\ModuleException]\r\n  Db: SQLSTATE[42601]: Syntax error: 7 ERROR:  unterminated quoted string at or near \"'<?xml vers\r\n  ion=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><root>\r\n   <user>\r\n    <firstName>Тест</firstName>\r\n    <middleName>Тестович</middleName>\r\n    <lastName>Тестов</lastName>       \r\n    <phoneNumber>(444) 444-4444</phoneNumber>\r\n   </user>\r\n   ...long text goes here...\r\n    &lt;/br&gt;Исходные данные &#13\"\r\n  LINE 2: ...L, NULL, NULL, NULL, NULL, '<?xml version=\"1.0\" encoding=\"UT...\r\n```\r\n\r\nI am using yii2 codeception. This bug makes codeception absolutely unusable in our case."},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/235488665","html_url":"https://github.com/Codeception/Codeception/issues/3354#issuecomment-235488665","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/3354","id":235488665,"user":{"login":"StalkAlex","id":2943154,"avatar_url":"https://avatars.githubusercontent.com/u/2943154?v=3","gravatar_id":"","url":"https://api.github.com/users/StalkAlex","html_url":"https://github.com/StalkAlex","followers_url":"https://api.github.com/users/StalkAlex/followers","following_url":"https://api.github.com/users/StalkAlex/following{/other_user}","gists_url":"https://api.github.com/users/StalkAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/StalkAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StalkAlex/subscriptions","organizations_url":"https://api.github.com/users/StalkAlex/orgs","repos_url":"https://api.github.com/users/StalkAlex/repos","events_url":"https://api.github.com/users/StalkAlex/events{/privacy}","received_events_url":"https://api.github.com/users/StalkAlex/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T05:14:16Z","updated_at":"2016-07-27T05:14:16Z","body":"@Naktibalda Thanks for the idea, but this dump is quiet big, about 90 Mb space and all of it for documents table mainly,  not sure if it could be done manually."}}
{"actor":{"display_login":"StalkAlex"}}