{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-filer/issues/1075","repository_url":"https://api.github.com/repos/divio/django-filer","labels_url":"https://api.github.com/repos/divio/django-filer/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-filer/issues/1075/comments","events_url":"https://api.github.com/repos/divio/django-filer/issues/1075/events","html_url":"https://github.com/divio/django-filer/issues/1075","id":324309716,"node_id":"MDU6SXNzdWUzMjQzMDk3MTY=","number":1075,"title":"AttributeError: This QueryDict instance is immutable  in _set_previous_subject_location","user":{"login":"mireq","id":33599,"node_id":"MDQ6VXNlcjMzNTk5","avatar_url":"https://avatars2.githubusercontent.com/u/33599?v=4","gravatar_id":"","url":"https://api.github.com/users/mireq","html_url":"https://github.com/mireq","followers_url":"https://api.github.com/users/mireq/followers","following_url":"https://api.github.com/users/mireq/following{/other_user}","gists_url":"https://api.github.com/users/mireq/gists{/gist_id}","starred_url":"https://api.github.com/users/mireq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mireq/subscriptions","organizations_url":"https://api.github.com/users/mireq/orgs","repos_url":"https://api.github.com/users/mireq/repos","events_url":"https://api.github.com/users/mireq/events{/privacy}","received_events_url":"https://api.github.com/users/mireq/received_events","type":"User","site_admin":false},"labels":[{"id":13150,"node_id":"MDU6TGFiZWwxMzE1MA==","url":"https://api.github.com/repos/divio/django-filer/labels/bug","name":"bug","color":"e00d0d","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/divio/django-filer/milestones/23","html_url":"https://github.com/divio/django-filer/milestone/23","labels_url":"https://api.github.com/repos/divio/django-filer/milestones/23/labels","id":3279241,"node_id":"MDk6TWlsZXN0b25lMzI3OTI0MQ==","number":23,"title":"1.3.x","description":"Bugfixes\r\nMinor improvements\r\n","creator":{"login":"yakky","id":714711,"node_id":"MDQ6VXNlcjcxNDcxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/714711?v=4","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":9,"state":"open","created_at":"2018-04-18T21:00:33Z","updated_at":"2018-06-02T11:40:30Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-05-18T08:04:36Z","updated_at":"2018-07-24T05:39:21Z","closed_at":"2018-05-28T09:53:17Z","author_association":"NONE","body":"Line\r\n\r\n`self.data['subject_location'] = subject_location`\r\n\r\nin filer.admin.imageadmin raises exception \"QueryDict instance is immutable\". Attribute self.data should be either a copy of POST (self.data = self.data.copy()) or should be changed to mutable (self.data._mutable = True)."},"comment":{"url":"https://api.github.com/repos/divio/django-filer/issues/comments/407287226","html_url":"https://github.com/divio/django-filer/issues/1075#issuecomment-407287226","issue_url":"https://api.github.com/repos/divio/django-filer/issues/1075","id":407287226,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzI4NzIyNg==","user":{"login":"wfehr","id":24782511,"node_id":"MDQ6VXNlcjI0NzgyNTEx","avatar_url":"https://avatars3.githubusercontent.com/u/24782511?v=4","gravatar_id":"","url":"https://api.github.com/users/wfehr","html_url":"https://github.com/wfehr","followers_url":"https://api.github.com/users/wfehr/followers","following_url":"https://api.github.com/users/wfehr/following{/other_user}","gists_url":"https://api.github.com/users/wfehr/gists{/gist_id}","starred_url":"https://api.github.com/users/wfehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfehr/subscriptions","organizations_url":"https://api.github.com/users/wfehr/orgs","repos_url":"https://api.github.com/users/wfehr/repos","events_url":"https://api.github.com/users/wfehr/events{/privacy}","received_events_url":"https://api.github.com/users/wfehr/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T05:39:21Z","updated_at":"2018-07-24T05:39:21Z","author_association":"NONE","body":"I am still getting this error with following scenario:\r\n- upload image with 10.000x10.000px\r\n- subject location is ~5.000x5.000px\r\n- replace the image with an image with 2.000x2.000px\r\n- subject location is still 5.000x5.000px\r\n-> click SAVE -> internal server error\r\n\r\n```\r\nEnd of trace:\r\nFile \"/usr/local/lib/python3.6/site-packages/filer/admin/imageadmin.py\" in clean_subject_location\r\n  69.         self._set_previous_subject_location(cleaned_data)\r\n\r\nFile \"/usr/local/lib/python3.6/site-packages/filer/admin/imageadmin.py\" in _set_previous_subject_location\r\n  38.         self.data['subject_location'] = subject_location\r\n\r\nFile \"/usr/local/lib/python3.6/site-packages/django/http/request.py\" in __setitem__\r\n  434.         self._assert_mutable()\r\n\r\nFile \"/usr/local/lib/python3.6/site-packages/django/http/request.py\" in _assert_mutable\r\n  431.             raise AttributeError(\"This QueryDict instance is immutable\")`\r\n```\r\n\r\nThe subject location should get deleted when the image \"in the background\" gets changed.\r\nAre you able to recreate this?\r\nI have installed:\r\n- django==1.11.12\r\n- django-cms==3.5.2\r\n- django-filer==1.3.1"}}
{"actor":{"display_login":"wfehr"}}