Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[QTI] Older Kolibri can't render exercises of only legacy items published from unstable

Aperta
#6,294 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

The issue banner states it is not open for contribution. If you still study it, start at contentcuration/contentcuration/utils/publish.py: how exercises are sent to QTIExerciseGenerator vs PerseusExerciseGenerator and _node_is_perseus_derivable. Align unstable with the v2026.09.24 rule so legacy-only items get both qti and exercise files, and free_response stays QTI-only. Cover both cases with publish tests.

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

Descrizione

bug DEV: backend

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

On unstable, publishing an exercise whose questions are all legacy items produces a QTI package and no Perseus archive. Older Kolibri renders only Perseus, so it cannot render these exercises. Release v2026.09.24 publishes the same exercises as a Perseus archive.

Complexity: Low
Target branch: unstable

Context
The Change
  • Legacy-only exercises should get the Perseus archive #6001 gives exercises of native QTI items, under the same rule: QTI only when any item has no Perseus equivalent.
How to Get There
  • Publish a channel with an exercise holding only multiple_selection and input_question items.
  • Check the exercise node's files: there is a qti-preset file and no exercise-preset file.
Acceptance Criteria
  • Publishing an exercise whose items are all single_selection, multiple_selection, true_false or input_question produces both a qti and an exercise file.
  • Publishing an exercise with a free_response item produces a qti file only.
  • Tests cover both cases.

AI usage

Claude Code found this while reviewing the #6211 branch, reproduced it with a scratch publish test on unstable at f4360ff91, and drafted this issue.

Lingua principale
Python
Stelle
191
Fork
308
Merge medio
2g 14h
PR unite (30g)
57

Preparare l'ambiente

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 learningequality/studio

Tutte le issue di learningequality/studio

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.