{"action":"created","issue":{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1493","labels_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1493/labels{/name}","comments_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1493/comments","events_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1493/events","html_url":"https://github.com/ryancramerdesign/ProcessWire/issues/1493","id":115413096,"number":1493,"title":"Refused file abcd.jpg because it is already on the file system and owned by a different field.","user":{"login":"adrianbj","id":871211,"avatar_url":"https://avatars.githubusercontent.com/u/871211?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianbj","html_url":"https://github.com/adrianbj","followers_url":"https://api.github.com/users/adrianbj/followers","following_url":"https://api.github.com/users/adrianbj/following{/other_user}","gists_url":"https://api.github.com/users/adrianbj/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbj/subscriptions","organizations_url":"https://api.github.com/users/adrianbj/orgs","repos_url":"https://api.github.com/users/adrianbj/repos","events_url":"https://api.github.com/users/adrianbj/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T01:15:24Z","updated_at":"2015-11-06T14:38:17Z","closed_at":null,"body":"The problem is that I have already removed the field in question from this template, so the only way around this error now (short of changing the filename of the image) is to manually delete the image from the filesystem.\r\n\r\nSo, should this be fixed by simply not resulting in an error if the field no longer exists in the template, or should images be removed from the filesystem when a field is removed from a template?"},"comment":{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/comments/154425763","html_url":"https://github.com/ryancramerdesign/ProcessWire/issues/1493#issuecomment-154425763","issue_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1493","id":154425763,"user":{"login":"ryancramerdesign","id":328272,"avatar_url":"https://avatars.githubusercontent.com/u/328272?v=3","gravatar_id":"","url":"https://api.github.com/users/ryancramerdesign","html_url":"https://github.com/ryancramerdesign","followers_url":"https://api.github.com/users/ryancramerdesign/followers","following_url":"https://api.github.com/users/ryancramerdesign/following{/other_user}","gists_url":"https://api.github.com/users/ryancramerdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancramerdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancramerdesign/subscriptions","organizations_url":"https://api.github.com/users/ryancramerdesign/orgs","repos_url":"https://api.github.com/users/ryancramerdesign/repos","events_url":"https://api.github.com/users/ryancramerdesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryancramerdesign/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T14:38:17Z","updated_at":"2015-11-06T14:38:17Z","body":"Removing a field from a template should remove all of its data, including files. But PHP does cache some  knowledge about the file system, so perhaps it still thought the file was there when it wasn't. That would explain why it took a couple of page reloads. "}}