{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/3028","labels_url":"https://api.github.com/repos/divio/django-cms/issues/3028/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/3028/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/3028/events","html_url":"https://github.com/divio/django-cms/issues/3028","id":31094036,"number":3028,"title":"Missing error handling when plugin changes are \"saved\"","user":{"login":"intgr","id":137616,"avatar_url":"https://avatars.githubusercontent.com/u/137616?v=3","gravatar_id":"","url":"https://api.github.com/users/intgr","html_url":"https://github.com/intgr","followers_url":"https://api.github.com/users/intgr/followers","following_url":"https://api.github.com/users/intgr/following{/other_user}","gists_url":"https://api.github.com/users/intgr/gists{/gist_id}","starred_url":"https://api.github.com/users/intgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intgr/subscriptions","organizations_url":"https://api.github.com/users/intgr/orgs","repos_url":"https://api.github.com/users/intgr/repos","events_url":"https://api.github.com/users/intgr/events{/privacy}","received_events_url":"https://api.github.com/users/intgr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/divio/django-cms/labels/component:%20frontend","name":"component: frontend","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/divio/django-cms/milestones/30","html_url":"https://github.com/divio/django-cms/milestones/3.0.11","labels_url":"https://api.github.com/repos/divio/django-cms/milestones/30/labels","id":988866,"number":30,"title":"3.0.11","description":"","creator":{"login":"mkoistinen","id":615759,"avatar_url":"https://avatars.githubusercontent.com/u/615759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoistinen","html_url":"https://github.com/mkoistinen","followers_url":"https://api.github.com/users/mkoistinen/followers","following_url":"https://api.github.com/users/mkoistinen/following{/other_user}","gists_url":"https://api.github.com/users/mkoistinen/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoistinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoistinen/subscriptions","organizations_url":"https://api.github.com/users/mkoistinen/orgs","repos_url":"https://api.github.com/users/mkoistinen/repos","events_url":"https://api.github.com/users/mkoistinen/events{/privacy}","received_events_url":"https://api.github.com/users/mkoistinen/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":6,"state":"open","created_at":"2015-02-20T21:01:47Z","updated_at":"2015-02-25T06:32:11Z","due_on":"2015-02-28T05:00:00Z","closed_at":null},"comments":9,"created_at":"2014-04-08T18:05:05Z","updated_at":"2015-02-25T11:50:31Z","closed_at":null,"body":"In CMS 3.0, when I edit the contents of a CMS plugin via frontend editing and \"save\" it, the AJAX request is fired off without properly checking its status:\r\n1. If I stop the web server before clicking Save, then the spinner is displayed forever even though the request fails immediately.\r\n2. If the request fails with an HTTP error, for example, missing permissions in the database, the frontend acts as if the save was successful, but when I open it again, it wasn't actually changed.\r\n\r\nI haven't yet tracked down the code that is causing this.\r\n"},"comment":{"url":"https://api.github.com/repos/divio/django-cms/issues/comments/75947709","html_url":"https://github.com/divio/django-cms/issues/3028#issuecomment-75947709","issue_url":"https://api.github.com/repos/divio/django-cms/issues/3028","id":75947709,"user":{"login":"intgr","id":137616,"avatar_url":"https://avatars.githubusercontent.com/u/137616?v=3","gravatar_id":"","url":"https://api.github.com/users/intgr","html_url":"https://github.com/intgr","followers_url":"https://api.github.com/users/intgr/followers","following_url":"https://api.github.com/users/intgr/following{/other_user}","gists_url":"https://api.github.com/users/intgr/gists{/gist_id}","starred_url":"https://api.github.com/users/intgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intgr/subscriptions","organizations_url":"https://api.github.com/users/intgr/orgs","repos_url":"https://api.github.com/users/intgr/repos","events_url":"https://api.github.com/users/intgr/events{/privacy}","received_events_url":"https://api.github.com/users/intgr/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T11:50:30Z","updated_at":"2015-02-25T11:50:30Z","body":"@mkoistinen Yes, still a problem. In the 1st case I now get some cross-origin error and in the 2nd case it spins forever.\r\n"}}