{"action":"created","issue":{"url":"https://api.github.com/repos/digital-preservation/csv-validator/issues/134","repository_url":"https://api.github.com/repos/digital-preservation/csv-validator","labels_url":"https://api.github.com/repos/digital-preservation/csv-validator/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/digital-preservation/csv-validator/issues/134/comments","events_url":"https://api.github.com/repos/digital-preservation/csv-validator/issues/134/events","html_url":"https://github.com/digital-preservation/csv-validator/issues/134","id":186428738,"number":134,"title":"Different column order is not supported","user":{"login":"azelenov","id":2478165,"avatar_url":"https://avatars.githubusercontent.com/u/2478165?v=3","gravatar_id":"","url":"https://api.github.com/users/azelenov","html_url":"https://github.com/azelenov","followers_url":"https://api.github.com/users/azelenov/followers","following_url":"https://api.github.com/users/azelenov/following{/other_user}","gists_url":"https://api.github.com/users/azelenov/gists{/gist_id}","starred_url":"https://api.github.com/users/azelenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azelenov/subscriptions","organizations_url":"https://api.github.com/users/azelenov/orgs","repos_url":"https://api.github.com/users/azelenov/repos","events_url":"https://api.github.com/users/azelenov/events{/privacy}","received_events_url":"https://api.github.com/users/azelenov/received_events","type":"User","site_admin":false},"labels":[{"id":33750531,"url":"https://api.github.com/repos/digital-preservation/csv-validator/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"DavidUnderdown","id":1204660,"avatar_url":"https://avatars.githubusercontent.com/u/1204660?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidUnderdown","html_url":"https://github.com/DavidUnderdown","followers_url":"https://api.github.com/users/DavidUnderdown/followers","following_url":"https://api.github.com/users/DavidUnderdown/following{/other_user}","gists_url":"https://api.github.com/users/DavidUnderdown/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidUnderdown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidUnderdown/subscriptions","organizations_url":"https://api.github.com/users/DavidUnderdown/orgs","repos_url":"https://api.github.com/users/DavidUnderdown/repos","events_url":"https://api.github.com/users/DavidUnderdown/events{/privacy}","received_events_url":"https://api.github.com/users/DavidUnderdown/received_events","type":"User","site_admin":false},"assignees":[{"login":"DavidUnderdown","id":1204660,"avatar_url":"https://avatars.githubusercontent.com/u/1204660?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidUnderdown","html_url":"https://github.com/DavidUnderdown","followers_url":"https://api.github.com/users/DavidUnderdown/followers","following_url":"https://api.github.com/users/DavidUnderdown/following{/other_user}","gists_url":"https://api.github.com/users/DavidUnderdown/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidUnderdown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidUnderdown/subscriptions","organizations_url":"https://api.github.com/users/DavidUnderdown/orgs","repos_url":"https://api.github.com/users/DavidUnderdown/repos","events_url":"https://api.github.com/users/DavidUnderdown/events{/privacy}","received_events_url":"https://api.github.com/users/DavidUnderdown/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-31T23:34:52Z","updated_at":"2016-11-02T10:43:09Z","closed_at":null,"body":"If CSV schema has different order of columns then CSV header, error \"_Error:   Metadata header, cannot find the column headers -  - .  (Case sensitive)\"_ will be shown. This message is not user friendly and very hard to debug.\r\n\r\n**Steps**:\r\nGiven some CSV file and CSV schema with correct validation\r\n1) Change order of columns in schema or CSV file\r\n\r\n**Expected result:**\r\nInformation message is shown \"PASSED\" ( Or at least some meaningful error message)\r\n\r\n**Actual result:**\r\n\"Error:   Metadata header, cannot find the column headers -  - .  (Case sensitive)\" message is shown.\r\n\r\nI can't find anything in the documentation that this is not supported. \r\nIdeally columns should be sorted and then verified. Or at least some meaningful message should be shown."},"comment":{"url":"https://api.github.com/repos/digital-preservation/csv-validator/issues/comments/257830185","html_url":"https://github.com/digital-preservation/csv-validator/issues/134#issuecomment-257830185","issue_url":"https://api.github.com/repos/digital-preservation/csv-validator/issues/134","id":257830185,"user":{"login":"DavidUnderdown","id":1204660,"avatar_url":"https://avatars.githubusercontent.com/u/1204660?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidUnderdown","html_url":"https://github.com/DavidUnderdown","followers_url":"https://api.github.com/users/DavidUnderdown/followers","following_url":"https://api.github.com/users/DavidUnderdown/following{/other_user}","gists_url":"https://api.github.com/users/DavidUnderdown/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidUnderdown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidUnderdown/subscriptions","organizations_url":"https://api.github.com/users/DavidUnderdown/orgs","repos_url":"https://api.github.com/users/DavidUnderdown/repos","events_url":"https://api.github.com/users/DavidUnderdown/events{/privacy}","received_events_url":"https://api.github.com/users/DavidUnderdown/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T10:43:09Z","updated_at":"2016-11-02T10:43:09Z","body":"We'll review this and come back to you.  Implicitly we were anticipating that the tests should appear in the same order that the columns are expected to be in the CSV file.  For us that order is important due to how we transform the CSV into XML later in our workflow, but I appreciate that that might not always be the case.  In the short term, we'll probably just make it explicit that the order of the tests and the order of the columns should match, but it could be made more flexible.  We have Version 1.2 of the schema in draft, so changes would probably go into that."}}
{"actor":{"display_login":"DavidUnderdown"}}