{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/4436","labels_url":"https://api.github.com/repos/divio/django-cms/issues/4436/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/4436/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/4436/events","html_url":"https://github.com/divio/django-cms/issues/4436","id":105614903,"number":4436,"title":"Can't move pages","user":{"login":"philippeowagner","id":113043,"avatar_url":"https://avatars.githubusercontent.com/u/113043?v=3","gravatar_id":"","url":"https://api.github.com/users/philippeowagner","html_url":"https://github.com/philippeowagner","followers_url":"https://api.github.com/users/philippeowagner/followers","following_url":"https://api.github.com/users/philippeowagner/following{/other_user}","gists_url":"https://api.github.com/users/philippeowagner/gists{/gist_id}","starred_url":"https://api.github.com/users/philippeowagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippeowagner/subscriptions","organizations_url":"https://api.github.com/users/philippeowagner/orgs","repos_url":"https://api.github.com/users/philippeowagner/repos","events_url":"https://api.github.com/users/philippeowagner/events{/privacy}","received_events_url":"https://api.github.com/users/philippeowagner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/divio/django-cms/labels/blocker","name":"blocker","color":"eb6420"},{"url":"https://api.github.com/repos/divio/django-cms/labels/kind:%20bug","name":"kind: bug","color":"c7def8"},{"url":"https://api.github.com/repos/divio/django-cms/labels/status:%20accepted","name":"status: accepted","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/divio/django-cms/milestones/38","html_url":"https://github.com/divio/django-cms/milestones/3.1.4","labels_url":"https://api.github.com/repos/divio/django-cms/milestones/38/labels","id":1285990,"number":38,"title":"3.1.4","description":"","creator":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","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":18,"closed_issues":15,"state":"open","created_at":"2015-09-02T10:44:00Z","updated_at":"2015-11-10T08:04:44Z","due_on":null,"closed_at":null},"comments":29,"created_at":"2015-09-09T14:57:46Z","updated_at":"2015-11-10T08:05:53Z","closed_at":null,"body":"Can't move pages in admin. Throws an internal server error (500). \r\n\r\n    Traceback:\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/core/handlers/base.py\" in get_response\r\n      132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/utils/decorators.py\" in _wrapped_view\r\n      110.                     response = view_func(request, *args, **kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/views/decorators/cache.py\" in _wrapped_view_func\r\n      57.         response = view_func(request, *args, **kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/contrib/admin/sites.py\" in inner\r\n      233.             return view(request, *args, **kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/utils/decorators.py\" in _wrapper\r\n      34.             return bound_func(*args, **kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/views/decorators/http.py\" in inner\r\n      45.             return func(request, *args, **kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/utils/decorators.py\" in bound_func\r\n      30.                 return func.__get__(self, type(self))(*args2, **kwargs2)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/django/utils/decorators.py\" in inner\r\n      145.                     return func(*args, **kwargs)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/cms/admin/pageadmin.py\" in move_page\r\n      857.         page.move_page(target, position)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/cms/models/pagemodel.py\" in move_page\r\n      217.         moved_page = self.move(target, pos=position)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/cms/models/pagemodel.py\" in move\r\n      1237.         super(Page, self).move(target, pos)\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/treebeard/mp_tree.py\" in move\r\n      1037.         return MP_MoveHandler(self, target, pos).process()\r\n    File \"/var/www/blank/www/local/lib/python2.7/site-packages/treebeard/mp_tree.py\" in process\r\n      444.         if self.target.is_descendant_of(self.node):\r\n\r\n    Exception Type: AttributeError at /admin/cms/page/250/move-page/\r\n    Exception Value: 'NoneType' object has no attribute 'is_descendant_of'\r\n\r\nDjango Version: 1.8.4\r\nAffected versions: django-cms==3.1.1 and django-cms==3.1.4.dev"},"comment":{"url":"https://api.github.com/repos/divio/django-cms/issues/comments/155352604","html_url":"https://github.com/divio/django-cms/issues/4436#issuecomment-155352604","issue_url":"https://api.github.com/repos/divio/django-cms/issues/4436","id":155352604,"user":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T08:05:53Z","updated_at":"2015-11-10T08:05:53Z","body":"awesome @yakky !"}}