Fix entity update logic to handle renaming operations
- Add is_renaming condition check - Ensure updates when entity renamed
This commit is contained in:
parent
5155edd8d2
commit
ea006bd386
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ async def _edit_entity_impl(
|
||||||
|
|
||||||
source_id_changed = set(new_chunk_ids) != set(old_chunk_ids)
|
source_id_changed = set(new_chunk_ids) != set(old_chunk_ids)
|
||||||
|
|
||||||
if source_id_changed or not has_stored_data:
|
if source_id_changed or not has_stored_data or is_renaming:
|
||||||
existing_full_chunk_ids = []
|
existing_full_chunk_ids = []
|
||||||
if has_stored_data:
|
if has_stored_data:
|
||||||
existing_full_chunk_ids = [
|
existing_full_chunk_ids = [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue