{"action":"created","issue":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/1475","repository_url":"https://api.github.com/repos/chamilo/chamilo-lms","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/1475/labels{/name}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/1475/comments","events_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/1475/events","html_url":"https://github.com/chamilo/chamilo-lms/issues/1475","id":184421070,"number":1475,"title":"Bug en Chamilo 1.10.x (proviene de actualizar desde 1.9.x)","user":{"login":"nosolored","id":5868981,"avatar_url":"https://avatars.githubusercontent.com/u/5868981?v=3","gravatar_id":"","url":"https://api.github.com/users/nosolored","html_url":"https://github.com/nosolored","followers_url":"https://api.github.com/users/nosolored/followers","following_url":"https://api.github.com/users/nosolored/following{/other_user}","gists_url":"https://api.github.com/users/nosolored/gists{/gist_id}","starred_url":"https://api.github.com/users/nosolored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosolored/subscriptions","organizations_url":"https://api.github.com/users/nosolored/orgs","repos_url":"https://api.github.com/users/nosolored/repos","events_url":"https://api.github.com/users/nosolored/events{/privacy}","received_events_url":"https://api.github.com/users/nosolored/received_events","type":"User","site_admin":false},"labels":[{"id":427108286,"url":"https://api.github.com/repos/chamilo/chamilo-lms/labels/Requires%20testing","name":"Requires testing","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"nosolored","id":5868981,"avatar_url":"https://avatars.githubusercontent.com/u/5868981?v=3","gravatar_id":"","url":"https://api.github.com/users/nosolored","html_url":"https://github.com/nosolored","followers_url":"https://api.github.com/users/nosolored/followers","following_url":"https://api.github.com/users/nosolored/following{/other_user}","gists_url":"https://api.github.com/users/nosolored/gists{/gist_id}","starred_url":"https://api.github.com/users/nosolored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosolored/subscriptions","organizations_url":"https://api.github.com/users/nosolored/orgs","repos_url":"https://api.github.com/users/nosolored/repos","events_url":"https://api.github.com/users/nosolored/events{/privacy}","received_events_url":"https://api.github.com/users/nosolored/received_events","type":"User","site_admin":false},"assignees":[{"login":"nosolored","id":5868981,"avatar_url":"https://avatars.githubusercontent.com/u/5868981?v=3","gravatar_id":"","url":"https://api.github.com/users/nosolored","html_url":"https://github.com/nosolored","followers_url":"https://api.github.com/users/nosolored/followers","following_url":"https://api.github.com/users/nosolored/following{/other_user}","gists_url":"https://api.github.com/users/nosolored/gists{/gist_id}","starred_url":"https://api.github.com/users/nosolored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosolored/subscriptions","organizations_url":"https://api.github.com/users/nosolored/orgs","repos_url":"https://api.github.com/users/nosolored/repos","events_url":"https://api.github.com/users/nosolored/events{/privacy}","received_events_url":"https://api.github.com/users/nosolored/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones/9","html_url":"https://github.com/chamilo/chamilo-lms/milestones/1.11.2","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones/9/labels","id":2075889,"number":9,"title":"1.11.2","description":"Minor maintenance version on top of 1.11.0","creator":{"login":"ywarnier","id":609839,"avatar_url":"https://avatars.githubusercontent.com/u/609839?v=3","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-10-17T23:34:40Z","updated_at":"2016-10-28T13:43:31Z","due_on":"2016-12-15T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-21T07:52:11Z","updated_at":"2016-10-28T17:46:22Z","closed_at":null,"body":"El profesor no puede insertar comentarios al corregir una tarea, y devuelve una pantalla en blanco y error en PHP.\r\nEl problema que hemos encontrado es que en la tabla c_student_publication_comment el campo iid no estaba configurado como auto incremental.\r\nEl primer comentario permite insertarlo pero se genera con iid=0 e id=NULL, por lo que un segundo comentario devuelve error de clave duplicada.\r\nSe soluciona asignando a ese campo la configuración de auto-incremental, aunque habría que tenerlo en cuenta en las actualizaciones para que revise esto y lo corrija.\r\n\r\nEl error nos ha ocurrido en varias instalaciones de Chamilo 1.10.8, todas ellas habían sido actualizadas desde Chamilo 1.9.10.2 a la 1.10.6 y luego a la 1.10.8\r\n\r\nEn una instalación limpia de Chamilo 1.11 no se produce este error.\r\n\r\nPasos para reproducir el error:\r\nEn una instalación de Chamilo 1.10.8 proveniente de actualizar desde 1.9.10.2:\r\n- Crear una tarea\r\n- Responder a la tarea como alumno\r\n- Acceder de nuevo como profesor, corregir la tarea y añadir un comentario\r\nSi no existen más tareas con comentarios en el aula, habrá que volver a realizar la operación para que devuelva el error, ya que se produce cuando hay al menos 1 comentario insertado.\r\n"},"comment":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/comments/256983951","html_url":"https://github.com/chamilo/chamilo-lms/issues/1475#issuecomment-256983951","issue_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/1475","id":256983951,"user":{"login":"AngelFQC","id":1697880,"avatar_url":"https://avatars.githubusercontent.com/u/1697880?v=3","gravatar_id":"","url":"https://api.github.com/users/AngelFQC","html_url":"https://github.com/AngelFQC","followers_url":"https://api.github.com/users/AngelFQC/followers","following_url":"https://api.github.com/users/AngelFQC/following{/other_user}","gists_url":"https://api.github.com/users/AngelFQC/gists{/gist_id}","starred_url":"https://api.github.com/users/AngelFQC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AngelFQC/subscriptions","organizations_url":"https://api.github.com/users/AngelFQC/orgs","repos_url":"https://api.github.com/users/AngelFQC/repos","events_url":"https://api.github.com/users/AngelFQC/events{/privacy}","received_events_url":"https://api.github.com/users/AngelFQC/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T17:46:21Z","updated_at":"2016-10-28T17:46:21Z","body":"El proceso de migración ha sido corregido en 1.10.x y 1.11.x"}}
{"actor":{"display_login":"AngelFQC"}}