Files
edx-platform/common/lib/xmodule/xmodule
connorhaugh 9d25982fab fix: oblige non-studio-authoring submit settings (#28253)
Problem blocks offer a setting to make users wait a set time between submissions. If a course is not authored in studio, it might not set a value for this setting. Consequently, the problem block must handle the submission_wait_seconds field to be none, so it doesn't break the submitted responses.

These kinds of errors here will prevent learners from submitting any answer, and has for several learners. Adding in this one-line change will prevent future errors without having to change the authoring practices of those ambitious enough to write their courses with import.

This also catches the case that some internal process other than studio might be creating problems with "none" as the setting.

In response to TNL-8234

Testing: hand-testing by importing the following problem xml file within a course and attempting to answer as learner(answer is 10.4).
2021-07-22 12:57:36 -04:00
..
2020-12-07 16:24:27 +05:00
2019-03-18 11:54:03 -04:00
2021-02-04 18:52:10 +05:00
2021-02-08 16:08:01 +05:00
2019-04-25 14:40:18 -04:00
2019-12-30 10:35:30 -05:00
2021-02-08 16:08:01 +05:00

Status: Deprecated (DEPR-24)

Responsibilities
================
XModules render specific course run content types to users for both authoring and learning. For instance, there is an XModule for Videos, another for HTML snippets, and another for Sequences. This package provides both the implementations of these XModules as well as some supporting utilities.

Direction: Convert and Extract
==============================
XModule exists today as a complex set of compatibility shims on top of XBlock (all XModules currently inherit from XBlock). The goal is for all XModules to either be converted into pure XBlocks or be deleted altogether. Extracting them into separate repositories would be ideal, but even just converting them to pure XBlocks would significantly simplify the runtime.

Glossary
========

More Documentation
==================

`DEPR-24 <https://openedx.atlassian.net/browse/DEPR-24>`_

`Example conversion of Capa <https://github.com/edx/edx-platform/pull/20023/>`_