fix: AA-724: Updating the HiddenContentTransformer
We heard about a bug where learners granted extensions would still lose access to content if it was marked as "hidden after due date". This was caused by the HiddenContentTransformer using the due date from collection time (publish time) rather than the user date returned from the edx-when DateOverrideTransformer. A small subtletly of these PRs is that Transformers with the FilteringTransformerMixin are executed before those without it so part of the fix was to make the HiddenContentTransformer not use the FilteringTransformerMixin to ensure the DateOverrideTransformer had run first. Part 2/3 - Updating transform method + updating Read version
Showing
- lms/djangoapps/course_blocks/transformers/hidden_content.py 15 additions, 25 deletionslms/djangoapps/course_blocks/transformers/hidden_content.py
- lms/djangoapps/course_blocks/transformers/tests/test_hidden_content.py 59 additions, 3 deletions...s/course_blocks/transformers/tests/test_hidden_content.py
Please register or sign in to comment