Creating a course named "OPL" is not possible and causes a problem

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

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

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

評価

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

調査の方向性

The payload names no source file. Start by reproducing the failure: create a course with the ID OPL and watch which OPL_problem table creation fails, then check whether the cleanup step drops tables that belong to the existing OPL schema. The OPL-update command is what restores them, so read it to see how it creates them. Done means a course named OPL can be created without clashing with or dropping the OPL tables, or the name is clearly reserved with a helpful error.

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

説明

If you create a course with ID "OPL", then first, it fails. It fails because the OPL tables in the database already include OPL_problem and maybe more, which clash with the would-be OPL_problem table for the new course.

Worse, it seems that as part of cleanup after the fail, that these tables are deleted. Running OPL-update brings them back.

I discovered this trying to make an "OPL" course for some OPL development.

主要言語
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 を短くまとめたダイジェスト。