-
Notifications
You must be signed in to change notification settings - Fork 7
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: make "fs" service available in XBlock preview module system #610
fix: make "fs" service available in XBlock preview module system #610
Conversation
Need to merge open-craft/RecommenderXBlock#1 to fix the build for this. |
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.
Just a few small changes and we're good to go
requirements/edx/github.in
Outdated
|
||
# https://github.com/openedx/django-pyfs/pull/169 | ||
git+https://github.com/open-craft/django-pyfs.git@opencraft-release/3.5.0#egg=openedx-django-pyfs==3.5.0 | ||
# https://github.com/openedx/RecommenderXBlock/pull/75 |
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.
Sorry I didn't mention this, but this is added via Grove, we don't need it in all our instances
requirements/edx/github.in
Outdated
@@ -78,8 +78,10 @@ | |||
# Release candidates being tested. | |||
############################################################################## | |||
|
|||
# ... add dependencies here | |||
|
|||
# https://github.com/openedx/django-pyfs/pull/169 |
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.
Can you remove the reference to openedx-django-pyfs in base.in?
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.
@viadanna There is no direct reference to openedx-django-pyfs in base.in, it is pulled by the xblock
requirement.
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.
Alright, that's where we need to bump openedx-django-pyfs
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.
Done.
73ca602
to
a3cd17a
Compare
👍
|
Changes done but Paulo is on holidays.
a3cd17a
to
b726cd2
Compare
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.
👍
Description
The "fs" XBlock runtime service is not made available in Palm when in preview mode (e.g. in Studio).
This causes an error when trying to use this service while editing an XBlock, e.g. uploading a screenshot for the Recommender XBlock:
Traceback
This is fixed in master, possibly in 18fea86, however that is part of openedx#31472 which is a rather large change. This is a smaller fix.
Testing instructions
Install and enable the Recommender XBlock
In Studio, add a recommender component to a course.
Add a resource in the recommender component, upload a preview screenshot.
Save it. Make sure there are no errors and that it was saved correctly.
Reload the page. See the newly added item and that the screenshot loads on hover.
Deadline
None
Other information
Private-ref: https://tasks.opencraft.com/browse/BB-8077