-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
area: configCourse configurationCourse configurationtype: bugThis is a bug which is critical for the correct operation of the systemThis is a bug which is critical for the correct operation of the system
Description
Submit and active element exercises both override using the "submit" category no matter what category was configured for them.
a-plus-rst-tools/directives/ae_output.py
Lines 103 to 114 in 1a7d6e0
| category = 'submit' | |
| data.update({ | |
| 'key': name, | |
| 'title': env.config.submit_title.format( | |
| key_title=key_title, config_title=config_title | |
| ), | |
| 'category': 'active elements', | |
| 'max_submissions': self.options.get('submissions', data.get('max_submissions', env.config.ae_default_submissions)), | |
| }) | |
| data.setdefault('status', self.options.get('status', 'unlisted')) | |
| self.apply_override(data, category) |
a-plus-rst-tools/directives/submit.py
Line 178 in 1a7d6e0
| self.apply_override(data, category) |
Fixing this will affect courses that rely on overriding using the "submit" category. Backwards compatibility is diffifult and cumbersome to implement. Fortunately, a-plus-rst-tools is updated separately for each course, so backwards compatibility isn't necessary. It isn't known how many if any courses rely on overriding with the "submit" category.
Fix this for:
- active elements b5d005d
- submit exercises
Metadata
Metadata
Assignees
Labels
area: configCourse configurationCourse configurationtype: bugThis is a bug which is critical for the correct operation of the systemThis is a bug which is critical for the correct operation of the system