Skip to content

Commit

Permalink
fix: ignore discussion units when forum is not enabled
Browse files Browse the repository at this point in the history
This is a backport of a commit to the master branch:
openedx/edx-platform#32464

In particular, it will fix many issues that appear when the demo course
is imported.
  • Loading branch information
regisb committed Jul 31, 2023
1 parent 97d9f5a commit a1de886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/20230731_155418_regis_fix_discussion_units.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Bugfix] Do not display discussion units when the forum is not enabled. (by @regisb)
3 changes: 3 additions & 0 deletions tutor/templates/build/openedx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ RUN git config --global user.email "[email protected]" \
# Security advisory: https:/openedx/edx-platform/security/advisories/GHSA-3q74-3rfh-g37j
# https:/openedx/edx-platform/pull/32838
RUN curl -fsSL https:/openedx/edx-platform/commit/163259779297a7dccb28e1f8c3dfa4d2cbdb9655.patch | git am
# Fix discussion units when forum is not enabled
# https:/openedx/edx-platform/pull/32464
RUN curl -fsSL https:/openedx/edx-platform/commit/a9f66705503288c360055ab80c7c3bfb884f75fe.patch | git am
{%- endif %}

{# Example: RUN curl -fsSL https:/openedx/edx-platform/commit/<GITSHA1>.patch | git am #}
Expand Down

0 comments on commit a1de886

Please sign in to comment.