Name change (etc) in the LMS and grade passback

Abierto
#2,605 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
perl

Línea de trabajo

The issue concerns the lms_source_did field on WeBWorK users and how grade passback at the mass update treats two users sharing one value. Start by finding where lms_source_did is set during LTI login and where grades are sent back to the LMS. The issue does not say what the fix should be: it asks whether a better solution exists, and the thread has had no answer for about 660 days. Done would require a maintainer decision on merging or deduplicating users first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Suppose a student user in the LMS had email [email protected] and email prefix is being used for WeBWorK user IDs via LTI. It's halfway through the term and the student has completed some work in WeBWorK. User foo has lms_source_did set to whatever the LMS's ID is for that user.

Then the student has a name change or something that leads to their email now being [email protected]. Now the WW course has two users, foo and bar, each with the same lms_source_did. The student enters WW as bar now and cannot see their progress from when they were foo. In the past we've discussed merging two users but it's hard to work out how some of the details would be handled, and I am not asking about merging two users for now.

Instead, the immediate issue is that foo and bar have the same lms_source_did. So when grade passback happens at the mass update, maybe bar's scores are sent to the LMS, but then foo's scores are also sent and they overwrite whatever recent scores bar has earned. Or it could be the other way around. To the student in the LMS, they end up seeing either scores from foo or from bar, and zeros (or non-initialized scores) for half the assignments.

Manually, I think what I need to do (since this is happening with a student right now) is to copy foo's scores over to bar within WeBWorK. Then remove foo's lms_source_did directly using sql. And if the student has some reason they should access user foo to see their old work, give them password access. Is there a better solution to this?

Lenguaje dominante
Perl
Estrellas
164
Forks
167
Merge medio
6 d 7 h
PR fusionados (30 d)
27

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openwebwork/webwork2

Todos los issues de openwebwork/webwork2

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.