Project

General

Profile

Bug #5962

Impossible to add gradebook categories in sessions

Added by Laura Guirao over 6 years ago. Updated over 5 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
Gradebook / Evaluaciones
Target version:
Start date:
12/02/2013
Due date:
27/02/2013
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

En el apartado de evaluaciones, es posible crear "carpetas" o categorías para organizar los componentes de evaluación:

Sin embargo cuando se accede al curso desde una sesión, aunque esta opción está habilitada y al parecer se crea la categoría, ésta no se muestra y al añadir un componente de evaluación no permite asignarlo a esta categoría (o evaluación, que el título que aparece)

Lo hemos probado en la 1.9.4, 1.9.6 y en stable.chamilo.org


Files

eval.jpg (12.4 KB) eval.jpg Laura Guirao, 12/02/2013 16:50
c.jpg (56.5 KB) c.jpg Laura Guirao, 06/03/2014 18:24
cp.jpg (33.3 KB) cp.jpg Laura Guirao, 15/04/2014 21:29
cs.jpg (45.4 KB) cs.jpg Laura Guirao, 18/04/2014 11:44

Related issues

Related to Chamilo LMS - Bug #6974: Assessments Categories works incorrectlyBug resolved07/02/2014

Actions
Related to Chamilo LMS - Bug #5994: Ejercicios con hot potatoesBug resolved27/02/201324/04/2014

Actions
Related to Chamilo LMS - Bug #6602: Online activity is added twice in Assessment category folder and in DefaultBug resolved21/08/201324/04/2014

Actions
Has duplicate Chamilo LMS - Bug #6537: Gradebooks have issues in sessionsRejected - Abandoned11/08/2013

Actions

Associated revisions

Revision da6e8b6d (diff)
Added by Yoselyn Castillo over 6 years ago

showing created categories in assingments when we are in session -refs #5962

Revision f1d88cfd
Added by Yannick Warnier about 6 years ago

Merge pull request #73 from ycastillo/yoselyn.5962

showing created categories in assingments when we are in session -refs #5962

Revision e014bc9f (diff)
Added by Yoselyn Castillo over 5 years ago

Fixing problem when adding categories in sessions -refs #5962

Revision c5655c98 (diff)
Added by Julio Montoya over 5 years ago

Fixing gradebook in sessions behaviour see #5962

History

#1

Updated by Yannick Warnier over 6 years ago

  • Due date set to 27/02/2013
  • Category set to Gradebook / Evaluaciones
  • Status changed from New to Assigned
  • Assignee set to Julio Montoya
  • Target version set to 1.9.6

Hola Laura,

Tendrás que esperar el regreso de Julio M. de vacaciones para esta porque no recuerdo exactamente los requerimientos, pero me parece que la idea es que las categorías y evaluaciones estén definidas como plantilla en el curso base, y de ahí usadas dentro de la sesión pero no definidas ahí. En todo caso, igual hay un problema si es que muestra el icono para hacerlo.

Cuando puedas (cuando sepas cual), pon la tarea en la categoría correspondiente, nos ayuda a ordenarlas.

#2

Updated by Laura Guirao over 6 years ago

Perdonad, no me había fijado en el campo de categoría, a partir de ahora me fijaré al notificar otros bugs y le asignaré la que corresponda.

#3

Updated by Yannick Warnier over 6 years ago

No hay problema, es nuevo pero es mejor usarlo.

#4

Updated by Yannick Warnier over 6 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Julio Montoya)
  • Target version changed from 1.9.6 to 1.9.8
#5

Updated by Yannick Warnier over 6 years ago

  • Assignee set to Yoselyn Castillo
#6

Updated by Yoselyn Castillo over 6 years ago

  • Status changed from New to Needs more info
  • Assignee changed from Yoselyn Castillo to Julio Montoya

As i have seen in the code, the gradebook category can be created into one session, and it is successfully stored in the database, but it is not shown in the list once created.
Julio, is it or not correct the creation of assignment gradebook when we are in a session?

#7

Updated by Yoselyn Castillo over 6 years ago

  • Status changed from Needs more info to Assigned
  • Assignee changed from Julio Montoya to Yoselyn Castillo

I have fixed problem of showing created assessment categories in sessions. The commit was sent to:
https://github.com/chamilo/chamilo-lms/pull/73
You can try this. But there is a bug, when showing components inside a category, into a session or not. Only categories appear, not their components
I am on it

#8

Updated by Yannick Warnier about 6 years ago

Yoselyn, just a reminder that your were "on this" 2 months ago ;-)

#9

Updated by Yoselyn Castillo about 6 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Yoselyn Castillo)

Well, the other commits related to this task were sent to that pull request 2 months ago too, :) but i forgot to update the task

#10

Updated by Yannick Warnier almost 6 years ago

Cuando entro a una sesión y creo una categoría de evaluación, me sale la categoría más un elemento dentro de la categoría que tiene el mismo nombre.
Cuando borro el elemento de a dentro, se borra la categoría también.

Además, al crear elementos de evaluación adicionales, no se pueden colocar (ni a la creación, ni a la edición) dentro de la nueva categoría creada...

La corrección no es satisfactoria en este caso. Por favor volver a analizar y revisar con más atención al detalle!

#11

Updated by Yannick Warnier almost 6 years ago

  • Status changed from Needs testing to Assigned
  • Assignee set to Yoselyn Castillo
  • % Done changed from 0 to 20
#12

Updated by Yoselyn Castillo over 5 years ago

Verifying this..

#13

Updated by Yoselyn Castillo over 5 years ago

As i could test in stable.chamilo.org i could add a category in assessment into sessions successfully but when we want to add an online activity into that category it is not possible. Working on it..

#14

Updated by Yoselyn Castillo over 5 years ago

  • % Done changed from 20 to 70

I have made some modifications for creating and editing categories in sessions. When the PR is accepted, this needs testing, due the complexity of this tool.
Done in
https://github.com/chamilo/chamilo-lms/pull/195

#15

Updated by Laura Guirao over 5 years ago

Hi Yoselyn

I have tested your modifications in stable.chamilo.org and also in another Chamilo in our servers.
Now it's possible to create categories in sessions but there is a problem. The new category appears twice, as a category, and also as a sub-category.
If you add a new activity into this category, the activity also appears twice, in the root of evaluations and into the category.
I attach image:

#16

Updated by Adolfo Igualada Martínez over 5 years ago

I think this issue is solved in the solution that i proposed in #6974.
https://support.chamilo.org/issues/6974

Saludos.

#17

Updated by Laura Guirao over 5 years ago

Thanks, Adolfo

I didn't know that issue.
I have tested your modification, and the activity is displayed correctly, but the category still appears twice

#18

Updated by Adolfo Igualada Martínez over 5 years ago

I modified in 1.9.x code. Are you using that version?
Because in 1.9.x version the problem of duplication category doesn't occurs.

#19

Updated by Laura Guirao over 5 years ago

I use Chamilo 1.9.6
First, I updated the Yoselyn's modifications, then, I added yours.
I don't know whether I have made something wrong

#20

Updated by Yannick Warnier over 5 years ago

  • Subject changed from No es posible agregar categorías de evaluaciones en sesiones to Impossible to add gradebook categories in sessions
#21

Updated by Yoselyn Castillo over 5 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Yoselyn Castillo)
#22

Updated by Yannick Warnier over 5 years ago

  • Status changed from New to Needs testing
  • % Done changed from 70 to 80

Laura, Adolfo, could one of you test it on https://stable.chamilo.org ? The changes have been added to Chamilo, so it should be there already.

#23

Updated by Laura Guirao over 5 years ago

It doesn't works correctly.
I have added a new category but it appears twice, and I have added an exercise but it doesn't appears.
See the pict attached:

#24

Updated by Yannick Warnier over 5 years ago

  • Assignee set to Julio Montoya
#25

Updated by Yannick Warnier over 5 years ago

  • Status changed from Needs testing to Assigned
  • % Done changed from 80 to 50
#26

Updated by Julio Montoya over 5 years ago

  • Status changed from Assigned to Needs more info
  • Assignee deleted (Julio Montoya)

No puedo reproducir el problema, en que curso se encuentra en stable.chamilo.org?

Qué pasos debo seguir para reproducir el error de la captura?

#27

Updated by Laura Guirao over 5 years ago

El curso se llama Inma Copia de prueba 10 abril
https://stable.chamilo.org/courses/INMACOPIADEPRUEBA10ABRIL/index.php?id_session=47

Dentro de la sesión llamada Sesion 2 Inma R:

#28

Updated by Laura Guirao over 5 years ago

Pasos a seguir:

- Entrar al curso a través de la sesión
- Ir a evaluaciones
- Crear una categoria
- Abrir la categoria (con el icono de + ) y comprobar que se ve dos veces
- Intentar agregar un componente de evaluación, como un ejercicio. No aparece

#29

Updated by Julio Montoya over 5 years ago

  • Status changed from Needs more info to Assigned
  • Assignee set to Julio Montoya

Hola Laura,
Gracias por el reporte, revisando ...

#30

Updated by Julio Montoya over 5 years ago

Efectivamente he visto los errores, al parecer el código para manejar las categorías en una sesión no está terminado o está roto.

Hay unos cambios que rompe el código como:

https://github.com/chamilo/chamilo-lms/commit/e014bc9f72e98e20b8e12c92b156b765521798ab

#31

Updated by Julio Montoya over 5 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)

Acabo de enviar unas correciones, ahora debería de funcionar.

Probar en otro curso y sesión. El ejemplo en el comentario # 27 no funcionará pues no se ha registrado el session_id en la base de datos (parte del bug)

#32

Updated by Yannick Warnier over 5 years ago

Se cerrará esta tarea dentro de 5 días, considerándola arreglada, si no tenemos feedback negativo antes de esta fecha.

#33

Updated by Laura Guirao over 5 years ago

  • Status changed from Needs testing to Bug resolved
  • % Done changed from 50 to 100

Por mi parte está correcto. He creado otra sesión, agregado un curso, creado una categoria de evaluación y añadido un ejercicio. Se ve todo bien.

https://stable.chamilo.org/courses/LAU/index.php?id_session=48

Cierro la tarea.
Gracias

Also available in: Atom PDF