To extract ProblemBlock from edx-platform into xblocks-contrib, we need to remove a few remaining platform dependencies.
Tasks
- Move
ProcessingError and NotFoundError upstream (XBlock or xblocks-contrib)
- Update
ProblemBlock to use the upstream exceptions
- Replace all
except ProcessingError with the upstream version
- Keep modulestore/contentstore
NotFoundError handling, but add upstream NotFoundError handling where needed (block_render.py, preview.py, import system) Ref
- Move
ShowCorrectness from xmodule.graders into XBlock Ref
- Move
xmodule.fields into XBlock Ref
- Move
Progress into XBlock Ref
- Update
edx-platform to use the new upstream locations (remove old Progress, fix imports, and clean up references)
To extract
ProblemBlockfromedx-platformintoxblocks-contrib, we need to remove a few remaining platform dependencies.Tasks
ProcessingErrorandNotFoundErrorupstream (XBlock or xblocks-contrib)ProblemBlockto use the upstream exceptionsexcept ProcessingErrorwith the upstream versionNotFoundErrorhandling, but add upstreamNotFoundErrorhandling where needed (block_render.py,preview.py, import system) RefShowCorrectnessfromxmodule.gradersinto XBlock Refxmodule.fieldsinto XBlock RefProgressinto XBlock Refedx-platformto use the new upstream locations (remove oldProgress, fix imports, and clean up references)