Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,11 +496,11 @@ def _import_xml_node_to_parent(

if xblock_class.has_children and temp_xblock.children:
raise NotImplementedError("We don't yet support pasting XBlocks with children")
temp_xblock.parent = parent_key
if copied_from_block:
_fetch_and_set_upstream_link(copied_from_block, copied_from_version_num, temp_xblock, user)
# Save the XBlock into modulestore. We need to save the block and its parent for this to work:
new_xblock = store.update_item(temp_xblock, user.id, allow_not_found=True)
new_xblock.parent = parent_key
parent_xblock.children.append(new_xblock.location)
store.update_item(parent_xblock, user.id)

Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ defusedxml==0.7.1
# ora2
# python3-openid
# social-auth-core
django==4.2.19
django==4.2.20
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ distlib==0.3.9
# via
# -r requirements/edx/testing.txt
# virtualenv
django==4.2.19
django==4.2.20
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ defusedxml==0.7.1
# ora2
# python3-openid
# social-auth-core
django==4.2.19
django==4.2.20
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ dill==0.3.9
# via pylint
distlib==0.3.9
# via virtualenv
django==4.2.19
django==4.2.20
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/user_retirement/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ click==8.1.6
# edx-django-utils
cryptography==43.0.3
# via pyjwt
django==4.2.19
django==4.2.20
# via
# -c scripts/user_retirement/requirements/../../../requirements/common_constraints.txt
# -c scripts/user_retirement/requirements/../../../requirements/constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/user_retirement/requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cryptography==43.0.3
# pyjwt
ddt==1.7.2
# via -r scripts/user_retirement/requirements/testing.in
django==4.2.19
django==4.2.20
# via
# -r scripts/user_retirement/requirements/base.txt
# django-crum
Expand Down
Loading