From 52d0e68426b05f02ec71b8c85e413550490321dc Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Thu, 30 Oct 2025 11:45:04 +0530 Subject: [PATCH] fix: lgeacy library block child.save fails in production instance while migrating --- xmodule/library_content_block.py | 1 - 1 file changed, 1 deletion(-) diff --git a/xmodule/library_content_block.py b/xmodule/library_content_block.py index d110bcf53724..f3d563a7fd30 100644 --- a/xmodule/library_content_block.py +++ b/xmodule/library_content_block.py @@ -325,7 +325,6 @@ def _v2_update_children_upstream_version(self): # Since after migration, the component in library is in draft state, we want to make sure that sync icon # appears when it is published child.upstream_version = 0 - child.save() # Use `modulestore()` instead of `self.runtime.modulestore` to make sure that the XBLOCK_UPDATED signal # is triggered store.update_item(child, None)