{"action":"created","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/2672","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/2672/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/2672/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/2672/events","html_url":"https://github.com/IQSS/dataverse/issues/2672","id":112857364,"number":2672,"title":"Can't publish a dataset that contains a file","user":{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Priority:%20Critical","name":"Priority: Critical","color":"ff9900"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Type:%20Bug","name":"Type: Bug","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"landreev","id":737558,"avatar_url":"https://avatars.githubusercontent.com/u/737558?v=3","gravatar_id":"","url":"https://api.github.com/users/landreev","html_url":"https://github.com/landreev","followers_url":"https://api.github.com/users/landreev/followers","following_url":"https://api.github.com/users/landreev/following{/other_user}","gists_url":"https://api.github.com/users/landreev/gists{/gist_id}","starred_url":"https://api.github.com/users/landreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landreev/subscriptions","organizations_url":"https://api.github.com/users/landreev/orgs","repos_url":"https://api.github.com/users/landreev/repos","events_url":"https://api.github.com/users/landreev/events{/privacy}","received_events_url":"https://api.github.com/users/landreev/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IQSS/dataverse/milestones/45","html_url":"https://github.com/IQSS/dataverse/milestones/4.2.1%20Performance%20patch","labels_url":"https://api.github.com/repos/IQSS/dataverse/milestones/45/labels","id":1349541,"number":45,"title":"4.2.1 Performance patch","description":"","creator":{"login":"scolapasta","id":4268292,"avatar_url":"https://avatars.githubusercontent.com/u/4268292?v=3","gravatar_id":"","url":"https://api.github.com/users/scolapasta","html_url":"https://github.com/scolapasta","followers_url":"https://api.github.com/users/scolapasta/followers","following_url":"https://api.github.com/users/scolapasta/following{/other_user}","gists_url":"https://api.github.com/users/scolapasta/gists{/gist_id}","starred_url":"https://api.github.com/users/scolapasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scolapasta/subscriptions","organizations_url":"https://api.github.com/users/scolapasta/orgs","repos_url":"https://api.github.com/users/scolapasta/repos","events_url":"https://api.github.com/users/scolapasta/events{/privacy}","received_events_url":"https://api.github.com/users/scolapasta/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":10,"state":"open","created_at":"2015-10-11T19:06:57Z","updated_at":"2015-10-22T18:00:13Z","due_on":"2015-10-27T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-22T18:00:13Z","updated_at":"2015-10-22T19:59:35Z","closed_at":null,"body":"I've tried publishing a dataset containing a file from my laptop running fa73991 and from dataverse-internal (i.e. doi:10.5072/FK2/EO4IB7 ) and in both cases it failed to publish and I saw OptimisticLockException in server.log. Same behavior on @sekmiller 's laptop. @landreev thinks some fixes he's working on might help so I'll give this to him.\r\n\r\n\"Exception Description: The object [edu.harvard.iq.dvn.core.study.FileMetadata[id=1]] cannot be merged because it has changed or been deleted since it was last read.\""},"comment":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/comments/150339282","html_url":"https://github.com/IQSS/dataverse/issues/2672#issuecomment-150339282","issue_url":"https://api.github.com/repos/IQSS/dataverse/issues/2672","id":150339282,"user":{"login":"kcondon","id":4983816,"avatar_url":"https://avatars.githubusercontent.com/u/4983816?v=3","gravatar_id":"","url":"https://api.github.com/users/kcondon","html_url":"https://github.com/kcondon","followers_url":"https://api.github.com/users/kcondon/followers","following_url":"https://api.github.com/users/kcondon/following{/other_user}","gists_url":"https://api.github.com/users/kcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcondon/subscriptions","organizations_url":"https://api.github.com/users/kcondon/orgs","repos_url":"https://api.github.com/users/kcondon/repos","events_url":"https://api.github.com/users/kcondon/events{/privacy}","received_events_url":"https://api.github.com/users/kcondon/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T19:59:35Z","updated_at":"2015-10-22T19:59:35Z","body":"@pdurbin @landreev , I am seeing the same issue on dataverse internal"}}