{"action":"created","issue":{"url":"https://api.github.com/repos/ox-it/ords/issues/774","repository_url":"https://api.github.com/repos/ox-it/ords","labels_url":"https://api.github.com/repos/ox-it/ords/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/ox-it/ords/issues/774/comments","events_url":"https://api.github.com/repos/ox-it/ords/issues/774/events","html_url":"https://github.com/ox-it/ords/issues/774","id":134942442,"number":774,"title":"Upload failure wipes existing tables","user":{"login":"MerielP","id":13660306,"avatar_url":"https://avatars.githubusercontent.com/u/13660306?v=3","gravatar_id":"","url":"https://api.github.com/users/MerielP","html_url":"https://github.com/MerielP","followers_url":"https://api.github.com/users/MerielP/followers","following_url":"https://api.github.com/users/MerielP/following{/other_user}","gists_url":"https://api.github.com/users/MerielP/gists{/gist_id}","starred_url":"https://api.github.com/users/MerielP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MerielP/subscriptions","organizations_url":"https://api.github.com/users/MerielP/orgs","repos_url":"https://api.github.com/users/MerielP/repos","events_url":"https://api.github.com/users/MerielP/events{/privacy}","received_events_url":"https://api.github.com/users/MerielP/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ox-it/ords/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ox-it/ords/labels/David%20Paine","name":"David Paine","color":"5319e7"},{"url":"https://api.github.com/repos/ox-it/ords/labels/Priority-Critical","name":"Priority-Critical","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"thestoat","id":491584,"avatar_url":"https://avatars.githubusercontent.com/u/491584?v=3","gravatar_id":"","url":"https://api.github.com/users/thestoat","html_url":"https://github.com/thestoat","followers_url":"https://api.github.com/users/thestoat/followers","following_url":"https://api.github.com/users/thestoat/following{/other_user}","gists_url":"https://api.github.com/users/thestoat/gists{/gist_id}","starred_url":"https://api.github.com/users/thestoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestoat/subscriptions","organizations_url":"https://api.github.com/users/thestoat/orgs","repos_url":"https://api.github.com/users/thestoat/repos","events_url":"https://api.github.com/users/thestoat/events{/privacy}","received_events_url":"https://api.github.com/users/thestoat/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-02-19T18:36:13Z","updated_at":"2016-02-25T11:57:49Z","closed_at":null,"body":"In an attempt to reproduce a different bug, I've just uploaded a new CSV file to the database called 'Uploaded database made from CSV files', in the project 'Staging test' on Staging. The CSV file is one I've uploaded successfully on several other occasions.\r\n\r\nWhen I went into the database page to see if it had finished uploading yet, I was somewhat disturbed to discover that the entire contents of the database had been wiped. There were two other tables in there, which have vanished completely. The database page looks as it would just after a new empty database has been created - it's inviting me to either upload a database or create one.\r\n\r\nThe email I got from ORDS said:\r\n\r\n-------------\r\nHi Meriel Patrick\r\n\r\nUnfortunately, the ORDS system has encountered a problem. Your database (artefact_catalogue) has not been imported. The page at https://staging.ords.ox.ac.uk/ordsProjectNode/commonProblems.jsp gives some suggestions on how to proceed if you are unsure how to fix this. The error reported was <Something bad has happened. Sorry. Best contact support.>.\r\n\r\nThe ORDS Team\r\n------------\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ox-it/ords/issues/comments/188753306","html_url":"https://github.com/ox-it/ords/issues/774#issuecomment-188753306","issue_url":"https://api.github.com/repos/ox-it/ords/issues/774","id":188753306,"user":{"login":"thestoat","id":491584,"avatar_url":"https://avatars.githubusercontent.com/u/491584?v=3","gravatar_id":"","url":"https://api.github.com/users/thestoat","html_url":"https://github.com/thestoat","followers_url":"https://api.github.com/users/thestoat/followers","following_url":"https://api.github.com/users/thestoat/following{/other_user}","gists_url":"https://api.github.com/users/thestoat/gists{/gist_id}","starred_url":"https://api.github.com/users/thestoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestoat/subscriptions","organizations_url":"https://api.github.com/users/thestoat/orgs","repos_url":"https://api.github.com/users/thestoat/repos","events_url":"https://api.github.com/users/thestoat/events{/privacy}","received_events_url":"https://api.github.com/users/thestoat/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T11:57:49Z","updated_at":"2016-02-25T11:57:49Z","body":"Ok, looks like this problem will happen by simply moving a table in the schema designer and then saving a few times."}}