{"action":"created","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/4251","repository_url":"https://api.github.com/repos/Kademi/kademi-dev","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/4251/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/4251/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/4251/events","html_url":"https://github.com/Kademi/kademi-dev/issues/4251","id":268299497,"number":4251,"title":"Can't override uploaded photo in promotion","user":{"login":"ducdhm","id":1289631,"avatar_url":"https://avatars1.githubusercontent.com/u/1289631?v=4","gravatar_id":"","url":"https://api.github.com/users/ducdhm","html_url":"https://github.com/ducdhm","followers_url":"https://api.github.com/users/ducdhm/followers","following_url":"https://api.github.com/users/ducdhm/following{/other_user}","gists_url":"https://api.github.com/users/ducdhm/gists{/gist_id}","starred_url":"https://api.github.com/users/ducdhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducdhm/subscriptions","organizations_url":"https://api.github.com/users/ducdhm/orgs","repos_url":"https://api.github.com/users/ducdhm/repos","events_url":"https://api.github.com/users/ducdhm/events{/privacy}","received_events_url":"https://api.github.com/users/ducdhm/received_events","type":"User","site_admin":false},"labels":[{"id":71713769,"url":"https://api.github.com/repos/Kademi/kademi-dev/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"gonzalon","id":2773216,"avatar_url":"https://avatars1.githubusercontent.com/u/2773216?v=4","gravatar_id":"","url":"https://api.github.com/users/gonzalon","html_url":"https://github.com/gonzalon","followers_url":"https://api.github.com/users/gonzalon/followers","following_url":"https://api.github.com/users/gonzalon/following{/other_user}","gists_url":"https://api.github.com/users/gonzalon/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalon/subscriptions","organizations_url":"https://api.github.com/users/gonzalon/orgs","repos_url":"https://api.github.com/users/gonzalon/repos","events_url":"https://api.github.com/users/gonzalon/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalon/received_events","type":"User","site_admin":false},"assignees":[{"login":"gonzalon","id":2773216,"avatar_url":"https://avatars1.githubusercontent.com/u/2773216?v=4","gravatar_id":"","url":"https://api.github.com/users/gonzalon","html_url":"https://github.com/gonzalon","followers_url":"https://api.github.com/users/gonzalon/followers","following_url":"https://api.github.com/users/gonzalon/following{/other_user}","gists_url":"https://api.github.com/users/gonzalon/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalon/subscriptions","organizations_url":"https://api.github.com/users/gonzalon/orgs","repos_url":"https://api.github.com/users/gonzalon/repos","events_url":"https://api.github.com/users/gonzalon/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalon/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/233","html_url":"https://github.com/Kademi/kademi-dev/milestone/233","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/233/labels","id":2832438,"number":233,"title":"Jolteon","description":"","creator":{"login":"bradmac","id":826458,"avatar_url":"https://avatars3.githubusercontent.com/u/826458?v=4","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":81,"closed_issues":88,"state":"open","created_at":"2017-10-12T08:00:24Z","updated_at":"2017-10-25T22:22:28Z","due_on":"2017-10-27T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-10-25T07:53:00Z","updated_at":"2017-10-25T23:02:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I added `override=true` when upload image in promotion form but I still get error message like:\r\n\r\n```\r\nERROR- io.milton.http.StandardFilter  - exception sending content\r\njava.lang.RuntimeException: Attempt to add duplicate name: 644445_10200673621384724_16889051_n.jpg\r\n\tat io.milton.vfs.data.DataSession$DirectoryNode.checkNameForAdd(DataSession.java:518)\r\n\tat io.milton.vfs.data.DataSession$DirectoryNode.addFile(DataSession.java:441)\r\n\tat io.milton.vfs.data.DataSession$DirectoryNode.addFile(DataSession.java:434)\r\n\tat com.fuselms.apps.rewards.RewardUploadsFolder.createNew(RewardUploadsFolder.java:135)\r\n\tat io.milton.http.json.PutJsonResource.processFile(PutJsonResource.java:186)\r\n\tat io.milton.http.json.PutJsonResource.processForm(PutJsonResource.java:133)\r\n\tat io.milton.http.http11.PostHandler.processExistingResource(PostHandler.java:85)\r\n\tat io.milton.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:196)\r\n\tat io.milton.http.http11.PostHandler.processResource(PostHandler.java:68)\r\n\tat io.milton.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:127)\r\n\tat io.milton.http.http11.PostHandler.process(PostHandler.java:62)\r\n\tat io.milton.http.StandardFilter.process(StandardFilter.java:50)\r\n\tat io.milton.http.FilterChain.process(FilterChain.java:46)\r\n\tat co.kademi.server.subscription.KademiSubscriptionFilter.process(KademiSubscriptionFilter.java:32)\r\n\tat io.milton.http.FilterChain.process(FilterChain.java:46)\r\n\tat co.kademi.server.idp.IDPFilter.process(IDPFilter.java:41)\r\n\tat io.milton.http.FilterChain.process(FilterChain.java:46)\r\n\tat io.milton.cloud.server.db.utils.MiltonOpenSessionInViewFilter$1.execute(MiltonOpenSessionInViewFilter.java:41)\r\n\tat io.milton.context.RootContext.execute(RootContext.java:90)\r\n\tat io.milton.cloud.server.db.utils.MiltonOpenSessionInViewFilter.process(MiltonOpenSessionInViewFilter.java:34)\r\n\tat io.milton.http.FilterChain.process(FilterChain.java:46)\r\n\tat io.milton.http.HttpManager.process(HttpManager.java:158)\r\n\tat co.kademi.server.Kademi$1.service(Kademi.java:187)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"},"comment":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/comments/339500269","html_url":"https://github.com/Kademi/kademi-dev/issues/4251#issuecomment-339500269","issue_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/4251","id":339500269,"user":{"login":"gonzalon","id":2773216,"avatar_url":"https://avatars1.githubusercontent.com/u/2773216?v=4","gravatar_id":"","url":"https://api.github.com/users/gonzalon","html_url":"https://github.com/gonzalon","followers_url":"https://api.github.com/users/gonzalon/followers","following_url":"https://api.github.com/users/gonzalon/following{/other_user}","gists_url":"https://api.github.com/users/gonzalon/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalon/subscriptions","organizations_url":"https://api.github.com/users/gonzalon/orgs","repos_url":"https://api.github.com/users/gonzalon/repos","events_url":"https://api.github.com/users/gonzalon/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalon/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T23:02:29Z","updated_at":"2017-10-25T23:02:29Z","author_association":"CONTRIBUTOR","body":"![image](https://user-images.githubusercontent.com/2773216/32027431-83d2feee-ba45-11e7-9ef5-b2e17372e431.png)\r\n"}}
{"actor":{"display_login":"gonzalon"}}