{"action":"opened","issue":{"url":"https://api.github.com/repos/gbateson/moodle-qtype_ordering/issues/11","repository_url":"https://api.github.com/repos/gbateson/moodle-qtype_ordering","labels_url":"https://api.github.com/repos/gbateson/moodle-qtype_ordering/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/gbateson/moodle-qtype_ordering/issues/11/comments","events_url":"https://api.github.com/repos/gbateson/moodle-qtype_ordering/issues/11/events","html_url":"https://github.com/gbateson/moodle-qtype_ordering/issues/11","id":131323237,"number":11,"title":"XML import and export missing gradingtype","user":{"login":"dmarkwell","id":17064480,"avatar_url":"https://avatars.githubusercontent.com/u/17064480?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarkwell","html_url":"https://github.com/dmarkwell","followers_url":"https://api.github.com/users/dmarkwell/followers","following_url":"https://api.github.com/users/dmarkwell/following{/other_user}","gists_url":"https://api.github.com/users/dmarkwell/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarkwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarkwell/subscriptions","organizations_url":"https://api.github.com/users/dmarkwell/orgs","repos_url":"https://api.github.com/users/dmarkwell/repos","events_url":"https://api.github.com/users/dmarkwell/events{/privacy}","received_events_url":"https://api.github.com/users/dmarkwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-04T11:51:00Z","updated_at":"2016-02-04T11:51:00Z","closed_at":null,"body":"Hi Gordon,\r\n\r\nI was pleased to find the ordering question type. It is very useful to us but I have found an issue with the XML import and export. I does not export the gradingtype that we use nor will it import it. Looking at the code I can see why as it only appears to switch on one specific type and otherwise exports blank and defaults to gradingtype 1 on import.\r\nIs this something that could be fixed ... I would be happy even if it just imported the gradingtype numbers as our main use for the XML is to import from a spreadsheet format we use internally.\r\nAnyway thanks for providing this useful question type.\r\n\r\nDavid"}}