{"action":"created","issue":{"url":"https://api.github.com/repos/mhudziak/amsi/issues/51","labels_url":"https://api.github.com/repos/mhudziak/amsi/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/mhudziak/amsi/issues/51/comments","events_url":"https://api.github.com/repos/mhudziak/amsi/issues/51/events","html_url":"https://github.com/mhudziak/amsi/issues/51","id":55930017,"number":51,"title":"Dodaj grupę zajęciową - brak weryfikacji poprawności danych - błąd bazy danych","user":{"login":"studentuj","id":7064197,"avatar_url":"https://avatars.githubusercontent.com/u/7064197?v=3","gravatar_id":"","url":"https://api.github.com/users/studentuj","html_url":"https://github.com/studentuj","followers_url":"https://api.github.com/users/studentuj/followers","following_url":"https://api.github.com/users/studentuj/following{/other_user}","gists_url":"https://api.github.com/users/studentuj/gists{/gist_id}","starred_url":"https://api.github.com/users/studentuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/studentuj/subscriptions","organizations_url":"https://api.github.com/users/studentuj/orgs","repos_url":"https://api.github.com/users/studentuj/repos","events_url":"https://api.github.com/users/studentuj/events{/privacy}","received_events_url":"https://api.github.com/users/studentuj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mhudziak/amsi/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mhudziak/amsi/labels/urgent","name":"urgent","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-29T17:27:56Z","updated_at":"2015-01-29T17:36:07Z","closed_at":null,"body":"Po wprowadzeniu łańcucha znakowego w polu numer grupy i zatwierdzeniu formularz przenosi na strone informującą o błędzie bazy danych:\r\n\r\nCoś jest nie tak ze skryptem bazy danych ( testowane za serwerze developerskim @mtusnio )\r\n\r\nWystąpił błąd bazy danych.\r\n\r\nError Number: 1054\r\n\r\nUnknown column 'active' in 'field list'\r\n\r\nINSERT INTO `course_groups` (`group_number`, `group_type`, `course_id`, `active`) VALUES ('Grupa wspaniałego prowadzącego', '0', '17', 1)\r\n\r\nFilename: /home/amsi/amsi/models/course_group_model.php\r\n\r\nLine Number: 39\r\n\r\n\r\n\r\n\r\nSugerowałbym dodanie jakiejś formy weryfikacji danych wejściowych"},"comment":{"url":"https://api.github.com/repos/mhudziak/amsi/issues/comments/72068370","html_url":"https://github.com/mhudziak/amsi/issues/51#issuecomment-72068370","issue_url":"https://api.github.com/repos/mhudziak/amsi/issues/51","id":72068370,"user":{"login":"waclawjacek","id":1759681,"avatar_url":"https://avatars.githubusercontent.com/u/1759681?v=3","gravatar_id":"","url":"https://api.github.com/users/waclawjacek","html_url":"https://github.com/waclawjacek","followers_url":"https://api.github.com/users/waclawjacek/followers","following_url":"https://api.github.com/users/waclawjacek/following{/other_user}","gists_url":"https://api.github.com/users/waclawjacek/gists{/gist_id}","starred_url":"https://api.github.com/users/waclawjacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waclawjacek/subscriptions","organizations_url":"https://api.github.com/users/waclawjacek/orgs","repos_url":"https://api.github.com/users/waclawjacek/repos","events_url":"https://api.github.com/users/waclawjacek/events{/privacy}","received_events_url":"https://api.github.com/users/waclawjacek/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T17:36:07Z","updated_at":"2015-01-29T17:36:07Z","body":"Dodać. :) int(1) not null\r\n29 sty 2015 18:35 \"mtusnio\" <notifications@github.com> napisał(a):\r\n\r\n> Nie ma w sqlu active dla grup. @waclawjacek\r\n> <https://github.com/waclawjacek> Dodac, czy to blad w kodzie?\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/mhudziak/amsi/issues/51#issuecomment-72068195>.\r\n>"}}