{"action":"created","issue":{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/issues/251","repository_url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle","labels_url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/issues/251/comments","events_url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/issues/251/events","html_url":"https://github.com/InnovaLangues/CollecticielBundle/issues/251","id":132453740,"number":251,"title":"Erreur annuler demande et demande traitée","user":{"login":"jj-quintin","id":16414632,"avatar_url":"https://avatars.githubusercontent.com/u/16414632?v=3","gravatar_id":"","url":"https://api.github.com/users/jj-quintin","html_url":"https://github.com/jj-quintin","followers_url":"https://api.github.com/users/jj-quintin/followers","following_url":"https://api.github.com/users/jj-quintin/following{/other_user}","gists_url":"https://api.github.com/users/jj-quintin/gists{/gist_id}","starred_url":"https://api.github.com/users/jj-quintin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jj-quintin/subscriptions","organizations_url":"https://api.github.com/users/jj-quintin/orgs","repos_url":"https://api.github.com/users/jj-quintin/repos","events_url":"https://api.github.com/users/jj-quintin/events{/privacy}","received_events_url":"https://api.github.com/users/jj-quintin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/labels/M","name":"M","color":"fbca04"},{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/labels/P1","name":"P1","color":"bfe5bf"},{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/labels/V6","name":"V6","color":"006b75"},{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/labels/V6.1.7","name":"V6.1.7","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"ericvincenterv","id":5363344,"avatar_url":"https://avatars.githubusercontent.com/u/5363344?v=3","gravatar_id":"","url":"https://api.github.com/users/ericvincenterv","html_url":"https://github.com/ericvincenterv","followers_url":"https://api.github.com/users/ericvincenterv/followers","following_url":"https://api.github.com/users/ericvincenterv/following{/other_user}","gists_url":"https://api.github.com/users/ericvincenterv/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvincenterv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvincenterv/subscriptions","organizations_url":"https://api.github.com/users/ericvincenterv/orgs","repos_url":"https://api.github.com/users/ericvincenterv/repos","events_url":"https://api.github.com/users/ericvincenterv/events{/privacy}","received_events_url":"https://api.github.com/users/ericvincenterv/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/milestones/4","html_url":"https://github.com/InnovaLangues/CollecticielBundle/milestones/Fin%20accus%C3%A9%20de%20r%C3%A9ception","labels_url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/milestones/4/labels","id":1570284,"number":4,"title":"Fin accusé de réception","description":"Fin accusé de réception","creator":{"login":"ericvincenterv","id":5363344,"avatar_url":"https://avatars.githubusercontent.com/u/5363344?v=3","gravatar_id":"","url":"https://api.github.com/users/ericvincenterv","html_url":"https://github.com/ericvincenterv","followers_url":"https://api.github.com/users/ericvincenterv/followers","following_url":"https://api.github.com/users/ericvincenterv/following{/other_user}","gists_url":"https://api.github.com/users/ericvincenterv/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvincenterv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvincenterv/subscriptions","organizations_url":"https://api.github.com/users/ericvincenterv/orgs","repos_url":"https://api.github.com/users/ericvincenterv/repos","events_url":"https://api.github.com/users/ericvincenterv/events{/privacy}","received_events_url":"https://api.github.com/users/ericvincenterv/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":9,"state":"open","created_at":"2016-02-08T12:57:06Z","updated_at":"2016-02-09T16:15:10Z","due_on":"2016-02-17T23:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-09T15:49:49Z","updated_at":"2016-02-09T16:17:45Z","closed_at":null,"body":"Après une demande transmise par l'étudiant \r\nLorsque l'étudiant a déposé lui-même un commentaire et que l’enseignant n'a rien déposé du tout\r\nLe système réagit comme si c'était l’enseignant qui avait traité la demande (déposé un commentaire)\r\n\r\nIl faut distinguer ce qui revient à l'auteur de la demande et ce qui revient au destinataire de la demande. Ne pas se baser uniquement sur la présence ou non de commentaire. \r\n\r\nJ'entrerai dans les détails des règles à appliquer si tu le demandes\r\n\r\nVoici les saisies d'écran qui illustrent ce qui se passe actuellement en pareille situation : \r\n\r\nSituation côté étudiant : \r\n\r\n![erreur-annuler-demande](https://cloud.githubusercontent.com/assets/16414632/12921132/0246de80-cf4c-11e5-9c8b-1ada4b9a804e.png)\r\n\r\nOr c'est le commentaire que l’étudiant lui-même (l'auteur de la demande) a déposé (pas l’enseignant, le destinataire de la demande) : \r\n\r\n![commentaire-etu1](https://cloud.githubusercontent.com/assets/16414632/12921175/321f9322-cf4c-11e5-80ea-21159d168c2c.png)\r\n\r\nMême erreur côté enseignant : la demande est considérée comme traitée alors que l'enseignant n'a pas déposé de commentaire : \r\n \r\n![erreur-annuler-demande-enseignant](https://cloud.githubusercontent.com/assets/16414632/12921194/4f7fb636-cf4c-11e5-90a6-4db301478a3d.png)"},"comment":{"url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/issues/comments/181937333","html_url":"https://github.com/InnovaLangues/CollecticielBundle/issues/251#issuecomment-181937333","issue_url":"https://api.github.com/repos/InnovaLangues/CollecticielBundle/issues/251","id":181937333,"user":{"login":"ericvincenterv","id":5363344,"avatar_url":"https://avatars.githubusercontent.com/u/5363344?v=3","gravatar_id":"","url":"https://api.github.com/users/ericvincenterv","html_url":"https://github.com/ericvincenterv","followers_url":"https://api.github.com/users/ericvincenterv/followers","following_url":"https://api.github.com/users/ericvincenterv/following{/other_user}","gists_url":"https://api.github.com/users/ericvincenterv/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvincenterv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvincenterv/subscriptions","organizations_url":"https://api.github.com/users/ericvincenterv/orgs","repos_url":"https://api.github.com/users/ericvincenterv/repos","events_url":"https://api.github.com/users/ericvincenterv/events{/privacy}","received_events_url":"https://api.github.com/users/ericvincenterv/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T16:17:45Z","updated_at":"2016-02-09T16:17:45Z","body":"En fait, quand un étudiant dépose un commentaire en étant étudiant, je pense que tout est OK.\r\n\r\nPar contre, dans ton cas, si j'ai bien compris, tu as déposé un commentaire dans un espace d'un étudiant en étant enseignant.\r\n\r\n"}}