Issue editing a problem when using CAS authentication

Abierto
#2,698 0 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
perl

Línea de trabajo

Reproduce the bug with CAS enabled: open a problem in the editor, use "Save As", and confirm the redirect to the CAS server. Compare that path with "Save", which does not redirect, to find which request handler or auth check differs. The payload names no files, so locate the CAS ticket validation in the codebase first. Done means "Save As" completes without a CAS redirect and the saved problem still behaves the same.

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

Descripción

We're seeing an issue in WeBWorK 2.18 where it tries (and fails) to revalidate the CAS service ticket when using the "Save As" option editing a problem. This is similar to the issue described here: https://webwork.maa.org/moodle/mod/forum/discuss.php?d=8546. Steps to reproduce:

  1. Go to a Homework set
  2. Go to a problem and click "Edit" (opens in a new window)
  3. Click on the "Save As" tab; it doesn't matter if you've actually made a change or not.
  4. Click "Save As"

What should happen is that the problem is saved. What happens in our environment is that we get redirected to our CAS server to reauthenticate or revalidate the service ticket; it's not clear. This doesn't happen when using "Save". The changes do get saved, but that's not obvious given the error.

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.