{"action":"created","issue":{"url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/issues/355","repository_url":"https://api.github.com/repos/CloudOpting/cloudopting-manager","labels_url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/issues/355/comments","events_url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/issues/355/events","html_url":"https://github.com/CloudOpting/cloudopting-manager/issues/355","id":158616770,"number":355,"title":"Multiple file upload in Service Publishing causes OptimisticLocking Exception","user":{"login":"guidospadotto-profesia","id":12183654,"avatar_url":"https://avatars.githubusercontent.com/u/12183654?v=3","gravatar_id":"","url":"https://api.github.com/users/guidospadotto-profesia","html_url":"https://github.com/guidospadotto-profesia","followers_url":"https://api.github.com/users/guidospadotto-profesia/followers","following_url":"https://api.github.com/users/guidospadotto-profesia/following{/other_user}","gists_url":"https://api.github.com/users/guidospadotto-profesia/gists{/gist_id}","starred_url":"https://api.github.com/users/guidospadotto-profesia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidospadotto-profesia/subscriptions","organizations_url":"https://api.github.com/users/guidospadotto-profesia/orgs","repos_url":"https://api.github.com/users/guidospadotto-profesia/repos","events_url":"https://api.github.com/users/guidospadotto-profesia/events{/privacy}","received_events_url":"https://api.github.com/users/guidospadotto-profesia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/labels/high%20priority","name":"high priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"ildave","id":3855605,"avatar_url":"https://avatars.githubusercontent.com/u/3855605?v=3","gravatar_id":"","url":"https://api.github.com/users/ildave","html_url":"https://github.com/ildave","followers_url":"https://api.github.com/users/ildave/followers","following_url":"https://api.github.com/users/ildave/following{/other_user}","gists_url":"https://api.github.com/users/ildave/gists{/gist_id}","starred_url":"https://api.github.com/users/ildave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ildave/subscriptions","organizations_url":"https://api.github.com/users/ildave/orgs","repos_url":"https://api.github.com/users/ildave/repos","events_url":"https://api.github.com/users/ildave/events{/privacy}","received_events_url":"https://api.github.com/users/ildave/received_events","type":"User","site_admin":false},"assignees":[{"login":"ildave","id":3855605,"avatar_url":"https://avatars.githubusercontent.com/u/3855605?v=3","gravatar_id":"","url":"https://api.github.com/users/ildave","html_url":"https://github.com/ildave","followers_url":"https://api.github.com/users/ildave/followers","following_url":"https://api.github.com/users/ildave/following{/other_user}","gists_url":"https://api.github.com/users/ildave/gists{/gist_id}","starred_url":"https://api.github.com/users/ildave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ildave/subscriptions","organizations_url":"https://api.github.com/users/ildave/orgs","repos_url":"https://api.github.com/users/ildave/repos","events_url":"https://api.github.com/users/ildave/events{/privacy}","received_events_url":"https://api.github.com/users/ildave/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/milestones/16","html_url":"https://github.com/CloudOpting/cloudopting-manager/milestones/3.0.0","labels_url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/milestones/16/labels","id":1541651,"number":16,"title":"3.0.0","description":"","creator":{"login":"gioppoluca","id":1488715,"avatar_url":"https://avatars.githubusercontent.com/u/1488715?v=3","gravatar_id":"","url":"https://api.github.com/users/gioppoluca","html_url":"https://github.com/gioppoluca","followers_url":"https://api.github.com/users/gioppoluca/followers","following_url":"https://api.github.com/users/gioppoluca/following{/other_user}","gists_url":"https://api.github.com/users/gioppoluca/gists{/gist_id}","starred_url":"https://api.github.com/users/gioppoluca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gioppoluca/subscriptions","organizations_url":"https://api.github.com/users/gioppoluca/orgs","repos_url":"https://api.github.com/users/gioppoluca/repos","events_url":"https://api.github.com/users/gioppoluca/events{/privacy}","received_events_url":"https://api.github.com/users/gioppoluca/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":39,"state":"open","created_at":"2016-01-25T13:58:19Z","updated_at":"2016-07-15T06:08:46Z","due_on":"2016-07-21T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-06-06T07:34:42Z","updated_at":"2016-07-15T06:10:47Z","closed_at":null,"body":"\"when I tried to upload multiple files in the Upload needed files screen, exceptions like the one below are thrown\"\r\n`org.activiti.engine.ActivitiOptimisticLockingException: HistoricVariableInstanceEntity[id=1446080, name=fileId, revision=1, type=null] was updated by another transaction concurrently\r\nat org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:875) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:614) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:212) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:138) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:66) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[activiti-spring-5.19.0.2.jar:5.19.0.2]\r\nat org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]\r\nat org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[activiti-spring-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat org.activiti.engine.impl.RuntimeServiceImpl.messageEventReceived(RuntimeServiceImpl.java:366) ~[activiti-engine-5.19.0.2.jar:5.19.0.2]\r\nat eu.cloudopting.bpmn.BpmnService.upload(BpmnService.java:325) ~[classes/:na]`"},"comment":{"url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/issues/comments/232867854","html_url":"https://github.com/CloudOpting/cloudopting-manager/issues/355#issuecomment-232867854","issue_url":"https://api.github.com/repos/CloudOpting/cloudopting-manager/issues/355","id":232867854,"user":{"login":"xeviscc","id":10829055,"avatar_url":"https://avatars.githubusercontent.com/u/10829055?v=3","gravatar_id":"","url":"https://api.github.com/users/xeviscc","html_url":"https://github.com/xeviscc","followers_url":"https://api.github.com/users/xeviscc/followers","following_url":"https://api.github.com/users/xeviscc/following{/other_user}","gists_url":"https://api.github.com/users/xeviscc/gists{/gist_id}","starred_url":"https://api.github.com/users/xeviscc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeviscc/subscriptions","organizations_url":"https://api.github.com/users/xeviscc/orgs","repos_url":"https://api.github.com/users/xeviscc/repos","events_url":"https://api.github.com/users/xeviscc/events{/privacy}","received_events_url":"https://api.github.com/users/xeviscc/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T06:10:47Z","updated_at":"2016-07-15T06:10:47Z","body":"According mail of Davide: \". Maybe this can be fixed by sending all the files together and modifying the task to manage more than one file at once, can someone more expert in the Activity process advise about this?\"\r\n@gioppoluca do you have any advice on this?"}}
{"actor":{"display_login":"xeviscc"}}