{"action":"closed","issue":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1369","repository_url":"https://api.github.com/repos/MongoEngine/mongoengine","labels_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1369/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1369/comments","events_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1369/events","html_url":"https://github.com/MongoEngine/mongoengine/issues/1369","id":174962247,"number":1369,"title":"Base document _mark_as_changed bug","user":{"login":"iici-gli","id":6988262,"avatar_url":"https://avatars.githubusercontent.com/u/6988262?v=3","gravatar_id":"","url":"https://api.github.com/users/iici-gli","html_url":"https://github.com/iici-gli","followers_url":"https://api.github.com/users/iici-gli/followers","following_url":"https://api.github.com/users/iici-gli/following{/other_user}","gists_url":"https://api.github.com/users/iici-gli/gists{/gist_id}","starred_url":"https://api.github.com/users/iici-gli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iici-gli/subscriptions","organizations_url":"https://api.github.com/users/iici-gli/orgs","repos_url":"https://api.github.com/users/iici-gli/repos","events_url":"https://api.github.com/users/iici-gli/events{/privacy}","received_events_url":"https://api.github.com/users/iici-gli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-04T18:18:49Z","updated_at":"2016-12-10T18:20:16Z","closed_at":"2016-12-10T18:20:16Z","body":"At base/document.py line 496, the remove function is called on the list being loopped on.  The loopped on list should be a shallow copy: \n<--\nfor field in self._changed_fields:\n                    if field.startswith(level):\n                        remove(field)\n-->\nfor field in self._changed_fields[:]:\n                    if field.startswith(level):\n                        remove(field)\n"}}
{"actor":{"display_login":"wojcikstefan"}}