apluslms / a-plus-rst-tools

Tools to publish RST course content for mooc-grader and a-plus. Should be cloned as a course submodule.
MIT License
6 stars 24 forks source link

Wrong category used for overriding #163

Open lainets opened 1 year ago

lainets commented 1 year ago

Submit and active element exercises both override using the "submit" category no matter what category was configured for them. https://github.com/apluslms/a-plus-rst-tools/blob/1a7d6e007f5127e1d68c8ddf0a5fa0cec3845f10/directives/ae_output.py#L103-L114 https://github.com/apluslms/a-plus-rst-tools/blob/1a7d6e007f5127e1d68c8ddf0a5fa0cec3845f10/directives/submit.py#L178

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: