{"action":"created","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/12490","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/12490/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/12490/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/12490/events","html_url":"https://github.com/mantidproject/mantid/issues/12490","id":84731328,"number":12490,"title":"Crash when setting n=-1 for a polynomial fitting function","user":{"login":"raquelalvarezbanos","id":8956985,"avatar_url":"https://avatars.githubusercontent.com/u/8956985?v=3","gravatar_id":"","url":"https://api.github.com/users/raquelalvarezbanos","html_url":"https://github.com/raquelalvarezbanos","followers_url":"https://api.github.com/users/raquelalvarezbanos/followers","following_url":"https://api.github.com/users/raquelalvarezbanos/following{/other_user}","gists_url":"https://api.github.com/users/raquelalvarezbanos/gists{/gist_id}","starred_url":"https://api.github.com/users/raquelalvarezbanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raquelalvarezbanos/subscriptions","organizations_url":"https://api.github.com/users/raquelalvarezbanos/orgs","repos_url":"https://api.github.com/users/raquelalvarezbanos/repos","events_url":"https://api.github.com/users/raquelalvarezbanos/events{/privacy}","received_events_url":"https://api.github.com/users/raquelalvarezbanos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Component:%20Framework","name":"Component: Framework","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"shahrozahmed1","id":13132173,"avatar_url":"https://avatars.githubusercontent.com/u/13132173?v=3","gravatar_id":"","url":"https://api.github.com/users/shahrozahmed1","html_url":"https://github.com/shahrozahmed1","followers_url":"https://api.github.com/users/shahrozahmed1/followers","following_url":"https://api.github.com/users/shahrozahmed1/following{/other_user}","gists_url":"https://api.github.com/users/shahrozahmed1/gists{/gist_id}","starred_url":"https://api.github.com/users/shahrozahmed1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahrozahmed1/subscriptions","organizations_url":"https://api.github.com/users/shahrozahmed1/orgs","repos_url":"https://api.github.com/users/shahrozahmed1/repos","events_url":"https://api.github.com/users/shahrozahmed1/events{/privacy}","received_events_url":"https://api.github.com/users/shahrozahmed1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mantidproject/mantid/milestones/3","html_url":"https://github.com/mantidproject/mantid/milestones/Release%203.5","labels_url":"https://api.github.com/repos/mantidproject/mantid/milestones/3/labels","id":1058985,"number":3,"title":"Release 3.5","description":"This is a placeholder in git for the [trac Release 3.5 milestone](http://trac.mantidproject.org/mantid/milestone/Release%203.5)","creator":{"login":"peterfpeterson","id":404003,"avatar_url":"https://avatars.githubusercontent.com/u/404003?v=3","gravatar_id":"","url":"https://api.github.com/users/peterfpeterson","html_url":"https://github.com/peterfpeterson","followers_url":"https://api.github.com/users/peterfpeterson/followers","following_url":"https://api.github.com/users/peterfpeterson/following{/other_user}","gists_url":"https://api.github.com/users/peterfpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfpeterson/subscriptions","organizations_url":"https://api.github.com/users/peterfpeterson/orgs","repos_url":"https://api.github.com/users/peterfpeterson/repos","events_url":"https://api.github.com/users/peterfpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/peterfpeterson/received_events","type":"User","site_admin":false},"open_issues":430,"closed_issues":709,"state":"open","created_at":"2015-04-08T18:44:37Z","updated_at":"2015-07-31T10:20:00Z","due_on":"2015-10-01T04:00:00Z","closed_at":null},"comments":3,"created_at":"2015-04-29T11:12:53Z","updated_at":"2015-07-31T10:44:24Z","closed_at":null,"body":"This issue was originally [TRAC 11652](http://trac.mantidproject.org/mantid/ticket/11652)\n\nWhen selecting a polynomial fitting function with n=-1 (or any other negative value) an error message pops up indicating that n cannot be negative, but Mantid crashes afterwards.\n "},"comment":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/comments/126646488","html_url":"https://github.com/mantidproject/mantid/issues/12490#issuecomment-126646488","issue_url":"https://api.github.com/repos/mantidproject/mantid/issues/12490","id":126646488,"user":{"login":"FedeMPouzols","id":5257172,"avatar_url":"https://avatars.githubusercontent.com/u/5257172?v=3","gravatar_id":"","url":"https://api.github.com/users/FedeMPouzols","html_url":"https://github.com/FedeMPouzols","followers_url":"https://api.github.com/users/FedeMPouzols/followers","following_url":"https://api.github.com/users/FedeMPouzols/following{/other_user}","gists_url":"https://api.github.com/users/FedeMPouzols/gists{/gist_id}","starred_url":"https://api.github.com/users/FedeMPouzols/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FedeMPouzols/subscriptions","organizations_url":"https://api.github.com/users/FedeMPouzols/orgs","repos_url":"https://api.github.com/users/FedeMPouzols/repos","events_url":"https://api.github.com/users/FedeMPouzols/events{/privacy}","received_events_url":"https://api.github.com/users/FedeMPouzols/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T10:44:24Z","updated_at":"2015-07-31T10:44:24Z","body":"And one more funny observation: if you set negative values using the spinbox (clicking the arrow down until you get to -1, -2, etc.), there is no crash. You get the exception message and then if you still go ahead and try to fit the function you get an exception message from the algorithm. All fine."}}