Warning with formula matrix when some entries are blank.
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
- 15/100
Línea de trabajo
The warning comes from lib/Value/AnswerChecker.pm around line 1882, where a method call on an unblessed reference fails for a blank matrix entry. Start by reproducing the sample problem with a Formula matrix where one cell is left blank, then trace how AnswerChecker.pm handles the matrix answer on the second submit. Done means the warning no longer appears on repeated check or show-answer clicks, with blank entries in one or both cells.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Here is a test problem.
DOCUMENT();
loadMacros(qw(PGstandard.pl PGML.pl));
Context('Matrix');
$M = Matrix([[Formula('x')], [Formula('y')]]);
BEGIN_PGML
[``[$M]=``] [_]*{$M}
END_PGML
ENDDOCUMENT();
If you enter in 'x' for the top row and keep the bottom row blank in the problem editor, and click on check answer or show correct answer twice in a row, a warning will appear.
Can't call method "type" on unblessed reference at [PG]/lib/Value/AnswerChecker.pm line 1882
Unsure why two submits are needed and the warning won't appear after the first. Also if you make both answer boxes blank, you need to click two submits before the warning goes away.
- Lenguaje dominante
- Perl
- Estrellas
- 48
- Forks
- 78
- Merge medio
- 5 d 13 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openwebwork/pg
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
openwebwork/pg#1566 · 5 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
openwebwork/pg#1563 · 8 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 4/5 1-2 días Aptitud para principiantes 50/100
openwebwork/pg#1560 · 10 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
openwebwork/pg#1542 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
openwebwork/pg#1530 · 3 comentarios ·
Los mantenedores suelen responder en 4 días
Todos los issues de openwebwork/pg
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
openwebwork/webwork2#3295 ·
Los mantenedores suelen responder en 4 días
-
nftables: "Display comment in rules list?" option has no effect, comments not shown in rules listAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
inverse-inc/packetfence#9707 ·
Los mantenedores suelen responder en 1 día
-
Mailaddress phrase quotingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
RotherOSS/otobo#6457 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
The reply-to for the pro user signup emails should be the email of the user instrad of the contact@ emailPosiblemente ocupada @sisodiaumang la tomó hoy. Abierto🏭 producer platform - spam
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
openfoodfacts/openfoodfacts-server#15447 ·
Los mantenedores suelen responder en 1 día