-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: grace period validation and parsing #2222
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2222 +/- ##
=======================================
Coverage 95.09% 95.10%
=======================================
Files 195 195
Lines 21485 21485
Branches 1931 1931
=======================================
+ Hits 20431 20433 +2
+ Misses 787 786 -1
+ Partials 267 266 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6451511
to
b7a5acd
Compare
Hi @jansenk , this change looks great, thank you for submitting it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thank you for fixing this issue so cleanly @jansenk , and for adding great tests.
- I tested this on my devstack:
- created a new ORA unit
- played with enabling/disabling resubmissions and valid/invalid data in the grace period field
- exported & re-imported the course with edited ORA2 OLX, to play with the above permutations.
- checked that the UI still flags invalid values from the imported OLX and works as desired.
- I read through the code
-
I checked for accessibility issuesN/A -
Includes documentationN/A -
User-facing strings are extracted for translationN/A
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I totally missed this. Thank you folks!
TL;DR - The resubmission grace period wasn't being correctly parsed from xml or correctly validated in studio.
JIRA: https://2u-internal.atlassian.net/browse/AU-2071
What changed?
Developer Checklist
FYI: @openedx/content-aurora