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

Aperta
#2,289 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
perl, sql
Ambito
database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Perl
Stelle
164
Fork
167
Merge medio
6g 7h
PR unite (30g)
27

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openwebwork/webwork2

Tutte le issue di openwebwork/webwork2

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.