Skip to content

fix: copy paste component from one course to another#10

Merged
papphelix merged 1 commit intorelease-ulmofrom
fix/copy_paste_component_with_image_for_edx
Oct 23, 2025
Merged

fix: copy paste component from one course to another#10
papphelix merged 1 commit intorelease-ulmofrom
fix/copy_paste_component_with_image_for_edx

Conversation

@Faraz32123
Copy link

previous related PR: #8
upstream PR: openedx#37529.

Copilot AI review requested due to automatic review settings October 23, 2025 18:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue with copying and pasting components between courses by correcting the static file path handling during import operations.

Key Changes:

  • Modified the return value in _import_file_into_course to conditionally use either the filename alone or the full static path based on whether import_path exists

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@papphelix papphelix merged commit e1cf9ec into release-ulmo Oct 23, 2025
96 of 97 checks passed
@papphelix papphelix deleted the fix/copy_paste_component_with_image_for_edx branch October 23, 2025 20:18
timmc-edx pushed a commit that referenced this pull request Oct 24, 2025
…or_edx

fix: copy paste component from one course to another
@timmc-edx
Copy link
Member

Historical note: We rewrote release-ulmo, and the merge commit for this PR was rewritten to 0c25295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants