openedx / openedx/openedx-platform

Duplicated Blocks are missing from the Generated Course Outline

Open
#35,535 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

Steps to Reproduce

  • Go to the Studio
  • Duplicate any Section or Subsection. Publish them.
  • Check the generated Outline in Admin (at /admin/learning_sequences/coursecontext/) or Learning MFE.
  • Notice that the duplicated blocks are missing from the Outline.
  • Change the Name of any subsection OR Add a new Section/Subsection. The duplicated block is now added to the outline along with the new section/subsection.

Duplicate INTRODUCTION:
Screenshot 2024-09-23 at 5 22 51 PM

Duplicated Duplicate of Introduction is not Published:
Screenshot 2024-09-23 at 5 22 16 PM

Publish the duplicated Section:
Screenshot 2024-09-23 at 5 22 33 PM

Missing from the Outline:
Screenshot 2024-09-23 at 5 23 08 PM

Expected Behavior

  • Duplicated Blocks are visible in the Outline.

Current Behavior

  • Duplicated Blocks are missing from the Outline.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Studio by duplicating and publishing a section or subsection, then inspect the generated outline in Admin at /admin/learning_sequences/coursecontext/ and in Learning MFE. Compare the outline before and after renaming a subsection or adding another section/subsection. Done means duplicated blocks appear in the outline immediately after publication.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.