{"action":"created","issue":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1405","repository_url":"https://api.github.com/repos/MongoEngine/mongoengine","labels_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1405/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1405/comments","events_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1405/events","html_url":"https://github.com/MongoEngine/mongoengine/issues/1405","id":191474342,"number":1405,"title":"remove lower level changed fields of marking as changed in base/document.py is not working properly","user":{"login":"zhangjie247","id":6840021,"avatar_url":"https://avatars.githubusercontent.com/u/6840021?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangjie247","html_url":"https://github.com/zhangjie247","followers_url":"https://api.github.com/users/zhangjie247/followers","following_url":"https://api.github.com/users/zhangjie247/following{/other_user}","gists_url":"https://api.github.com/users/zhangjie247/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangjie247/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangjie247/subscriptions","organizations_url":"https://api.github.com/users/zhangjie247/orgs","repos_url":"https://api.github.com/users/zhangjie247/repos","events_url":"https://api.github.com/users/zhangjie247/events{/privacy}","received_events_url":"https://api.github.com/users/zhangjie247/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-24T09:45:23Z","updated_at":"2016-11-24T13:46:59Z","closed_at":null,"body":"version: 0.10.6\r\n```\r\n 490                 self._changed_fields.append(key)\r\n 491                 # remove lower level changed fields\r\n 492                 level = '.'.join(levels[:idx]) + '.'\r\n 493                 remove = self._changed_fields.remove\r\n 494                 for field in self._changed_fields:\r\n 495                     if field.startswith(level):\r\n 496                         remove(field)\r\n```\r\n\r\nremove while iterating self._changed_fields may not work"},"comment":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/comments/262779771","html_url":"https://github.com/MongoEngine/mongoengine/issues/1405#issuecomment-262779771","issue_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/1405","id":262779771,"user":{"login":"wojcikstefan","id":1718372,"avatar_url":"https://avatars.githubusercontent.com/u/1718372?v=3","gravatar_id":"","url":"https://api.github.com/users/wojcikstefan","html_url":"https://github.com/wojcikstefan","followers_url":"https://api.github.com/users/wojcikstefan/followers","following_url":"https://api.github.com/users/wojcikstefan/following{/other_user}","gists_url":"https://api.github.com/users/wojcikstefan/gists{/gist_id}","starred_url":"https://api.github.com/users/wojcikstefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojcikstefan/subscriptions","organizations_url":"https://api.github.com/users/wojcikstefan/orgs","repos_url":"https://api.github.com/users/wojcikstefan/repos","events_url":"https://api.github.com/users/wojcikstefan/events{/privacy}","received_events_url":"https://api.github.com/users/wojcikstefan/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T13:46:59Z","updated_at":"2016-11-24T13:46:59Z","body":"Duplicate of https://github.com/MongoEngine/mongoengine/issues/1369, fixed in https://github.com/MongoEngine/mongoengine/commit/ca415d5d623b47bfd7e765b28c0b1778db0bbe3b.\r\n\r\n"}}
{"actor":{"display_login":"wojcikstefan"}}