Quiz Problem Navigation is broken when using problemPanic.pl

オープン
#1,699 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, perl
領域
full-stack

調査の方向性

Start with the quiz navigation path: problemPanic.pl is reported as the trigger, and the JavaScript error comes from gateway.js at a?.dataset.confirmDialogMessage, where the navigation menu element is undefined. Reproduce by building a quiz with one problem per page and placing the attached problem as question #2, then inspect what markup problemPanic.pl emits for the navigation. Done means the menu stays functional after visiting problem 2 and the console error no longer appears. The attached .pg file is needed to reproduce, and the thread has no fix yet.

索引モデルが issue の本文から書いたものです。

説明

Strange one here. Steps to reproduce

  1. Create a quiz with a few problems. Make sure that the quiz has a single problem per page.
  2. Add the attached problem to the quiz and put it as question #2.
  3. Take the quiz.
  4. After navigating to problem 2, the navigation menu is no longer functioning and there is the javascript error:
undefined is not an object (evaluating 'a?.dataset.confirmDialogMessage')

in the gateway.js file.

One of our instructors found this and narrowed it down to the problemPanic.pl file.

broken_quiz_nav.pg.txt

主要言語
Perl
スター
164
フォーク
167
平均マージ
6日 7時間
マージ済み PR(30日)
27

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openwebwork/webwork2 のほかの issue

openwebwork/webwork2 の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。