{"action":"created","issue":{"url":"https://api.github.com/repos/sgmap/ludwig-ui/issues/11","labels_url":"https://api.github.com/repos/sgmap/ludwig-ui/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/sgmap/ludwig-ui/issues/11/comments","events_url":"https://api.github.com/repos/sgmap/ludwig-ui/issues/11/events","html_url":"https://github.com/sgmap/ludwig-ui/issues/11","id":62114967,"number":11,"title":"Attempted to assign to readonly property","user":{"login":"MattiSG","id":222463,"avatar_url":"https://avatars.githubusercontent.com/u/222463?v=3","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-16T15:26:58Z","updated_at":"2015-03-17T17:27:16Z","closed_at":null,"body":"While working on #10, I got this on the login page:\r\n\r\n```\r\nAttempted to assign to readonly property.\r\nformatValues@http://localhost:9000/tests/scripts/services/acceptanceTest.js:65:13\r\n```\r\n\r\nThis is now blocking all accesses.\r\n\r\nThe pointed line is:\r\n\r\n```javascript\r\ntest.status = statusMapping[test.currentStatus];\r\n```\r\n\r\n@Flightan any idea?"},"comment":{"url":"https://api.github.com/repos/sgmap/ludwig-ui/issues/comments/82489170","html_url":"https://github.com/sgmap/ludwig-ui/issues/11#issuecomment-82489170","issue_url":"https://api.github.com/repos/sgmap/ludwig-ui/issues/11","id":82489170,"user":{"login":"MattiSG","id":222463,"avatar_url":"https://avatars.githubusercontent.com/u/222463?v=3","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T17:27:16Z","updated_at":"2015-03-17T17:27:16Z","body":"This was because of the `/*` catch-all in UI that served an HTML file with a `200` when JS was required. That meant an Angular's `$http.get` yielded `data` that was an HTML `String` and not an `Object`, on which we did a `_.map`. That ended up iterating on a string, on which we tried to add properties, which is illegal in strict mode."}}