Skip to content

fix: discussion xblock not compatible with forum v2 #36315

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

Merged

Conversation

taimoor-ahmed-1
Copy link
Contributor

Description

Fix all endpoints that were currently breaking with the discussion xblock while using the new forum app.

Supporting information

Issue reported on forum: openedx/forum#149

Testing instructions

TBD

Deadline

"None" if there's no rush, or provide a specific date or event (and reason) if there is one.

Other information

Include anything else that will help reviewers and consumers understand the change.

  • Does this change depend on other changes elsewhere?
  • Any special concerns or limitations? For example: deprecations, migrations, security, or accessibility.
  • If your database migration can't be rolled back easily.

@openedx-webhooks
Copy link

Thanks for the pull request, @taimoor-ahmed-1!

This repository is currently maintained by @openedx/wg-maintenance-edx-platform.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.


Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

Copy link
Contributor

@Faraz32123 Faraz32123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mphilbrick211 mphilbrick211 moved this from Needs Triage to In Eng Review in Contributions Mar 3, 2025
@taimoor-ahmed-1 taimoor-ahmed-1 requested a review from ormsbee March 5, 2025 07:41
Copy link
Contributor

@muhammadadeeltajamul muhammadadeeltajamul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested the changes

  • Basic testing of discussion xblock. It is working as expected (Adding a post, response and comment. Didn't perform regression testing)
  • Non-MFE discussion tab is breaking

Can you clarify whether this change is intended to fix non-MFE discussion tab as well?

fix all endpoints that were currently breaking with the discussion xblock.
@taimoor-ahmed-1 taimoor-ahmed-1 force-pushed the fix/discussion_xblock_compatibility_issue branch from e1a117b to b9d6963 Compare March 19, 2025 19:38
@taimoor-ahmed-1
Copy link
Contributor Author

I have tested the changes

  • Basic testing of discussion xblock. It is working as expected (Adding a post, response and comment. Didn't perform regression testing)
  • Non-MFE discussion tab is breaking

Can you clarify whether this change is intended to fix non-MFE discussion tab as well?

Will test the tab and open a separate PR for it.

@ziafazal ziafazal merged commit 0d4281a into openedx:master Mar 20, 2025
49 checks passed
@github-project-automation github-project-automation bot moved this from In Eng Review to Done in Contributions Mar 20, 2025
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

leoaulasneo98 pushed a commit to aulasneo/edx-platform that referenced this pull request Mar 25, 2025
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>
leoaulasneo98 pushed a commit to aulasneo/edx-platform that referenced this pull request Mar 26, 2025
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>
Agrendalath pushed a commit to open-craft/edx-platform that referenced this pull request Apr 17, 2025
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>
(cherry picked from commit 0d4281a)
Agrendalath pushed a commit to open-craft/edx-platform that referenced this pull request Apr 17, 2025
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>
(cherry picked from commit 0d4281a)
tonybusa pushed a commit to tonybusa/edx-platform that referenced this pull request Apr 23, 2025
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>
Abdul-Muqadim-Arbisoft pushed a commit to edly-io/edx-platform that referenced this pull request Apr 25, 2025
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>
ziafazal pushed a commit that referenced this pull request Apr 28, 2025
* fix: discussion xblock not compatible with forum v2 (#36315)

fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>

* fix: legacy discussion issues (#36433)

Explicitly passed course_id to all views

* fix: legacy forum issues (#36470)

Co-authored-by: Taimoor  Ahmed <[email protected]>

* build: Switch off deprecated C-Hive NPM cache (#36502)

JS tests are failing because we are using a discontinued GHA caching service:
https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts

This service is used by the unsupported C-Hive caching action which we are
relying on: https://github.com/c-hive/gha-npm-cache

We are switching to the supported caching mechanims which is provided by
setup-node:
https://github.com/actions/setup-node?tab=readme-ov-file#caching-global-packages-data

* Merge pull request #35713 from openedx/feanil/ubuntu-24.04

feanil/ubuntu 24.04

---------

Co-authored-by: Taimoor Ahmed <[email protected]>
Co-authored-by: Taimoor  Ahmed <[email protected]>
Co-authored-by: Ali Salman <[email protected]>
Co-authored-by: Kyle McCormick <[email protected]>
Co-authored-by: Feanil Patel <[email protected]>
zubairshakoorarbisoft pushed a commit to zubairshakoorarbisoft/edx-platform that referenced this pull request May 9, 2025
* fix: discussion xblock not compatible with forum v2 (openedx#36315)

fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>

* fix: legacy discussion issues (openedx#36433)

Explicitly passed course_id to all views

* fix: legacy forum issues (openedx#36470)

Co-authored-by: Taimoor  Ahmed <[email protected]>

* build: Switch off deprecated C-Hive NPM cache (openedx#36502)

JS tests are failing because we are using a discontinued GHA caching service:
https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts

This service is used by the unsupported C-Hive caching action which we are
relying on: https://github.com/c-hive/gha-npm-cache

We are switching to the supported caching mechanims which is provided by
setup-node:
https://github.com/actions/setup-node?tab=readme-ov-file#caching-global-packages-data

* Merge pull request openedx#35713 from openedx/feanil/ubuntu-24.04

feanil/ubuntu 24.04

---------

Co-authored-by: Taimoor Ahmed <[email protected]>
Co-authored-by: Taimoor  Ahmed <[email protected]>
Co-authored-by: Ali Salman <[email protected]>
Co-authored-by: Kyle McCormick <[email protected]>
Co-authored-by: Feanil Patel <[email protected]>
zubairshakoorarbisoft pushed a commit to zubairshakoorarbisoft/edx-platform that referenced this pull request May 9, 2025
* fix: discussion xblock not compatible with forum v2 (openedx#36315)

fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <[email protected]>

* fix: legacy discussion issues (openedx#36433)

Explicitly passed course_id to all views

* fix: legacy forum issues (openedx#36470)

Co-authored-by: Taimoor  Ahmed <[email protected]>

* build: Switch off deprecated C-Hive NPM cache (openedx#36502)

JS tests are failing because we are using a discontinued GHA caching service:
https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts

This service is used by the unsupported C-Hive caching action which we are
relying on: https://github.com/c-hive/gha-npm-cache

We are switching to the supported caching mechanims which is provided by
setup-node:
https://github.com/actions/setup-node?tab=readme-ov-file#caching-global-packages-data

* Merge pull request openedx#35713 from openedx/feanil/ubuntu-24.04

feanil/ubuntu 24.04

---------

Co-authored-by: Taimoor Ahmed <[email protected]>
Co-authored-by: Taimoor  Ahmed <[email protected]>
Co-authored-by: Ali Salman <[email protected]>
Co-authored-by: Kyle McCormick <[email protected]>
Co-authored-by: Feanil Patel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants