{"action":"opened","issue":{"url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1495","labels_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1495/comments","events_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1495/events","html_url":"https://github.com/Atlantic18/DoctrineExtensions/issues/1495","id":123562080,"number":1495,"title":"Uploadable Issue with no Path","user":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T21:45:43Z","updated_at":"2015-12-22T21:45:43Z","closed_at":null,"body":"Greetings,\r\n\r\nThank you for these great extensions. I ran into a few issues implementing the uploadable extension in Symfony. I am not sure, if these issues should be pointed at the extension, at the Doctrine Extensions Bundle, or at the guy behind the keyboard. :)\r\n\r\nInstead of setting the default path in the annotation, I set the path in the listener. The issue I ran into were deleting old files on update. When I wanted to delete old files, it wouldn't work. Some examples of these problems occurring can be seen in the example code of my fork. https://github.com/Raistlfiren/DoctrineExtensions/commit/d41fcd50aacf9902bc6560d39296befec480db2a\r\n\r\nMy use case is as follows: A user goes to update an organization and adds a file to the form. When they upload the file, the code checks to see if the form is valid, and processes the form. I am using Symfony as the framework. \r\n\r\nIn my test case, it replicates how Symfony would handle the data. It updates the entity with the new data, and puts the file object in place of the string...\r\n\r\n1. Am I handling this incorrectly?\r\n2. Is this a bug, or did you answer yes to 1?"}}