bug: subsequent messages not deleted on message deletion #378

Closed
opened 2025-11-11 14:19:37 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @dannyl1u on GitHub (Mar 1, 2024).

Bug Report

Description

Reported in https://github.com/open-webui/open-webui/issues/962#issuecomment-1970690378

Bug Summary:
Subsequent child messages not deleted when a message is deleted.

Steps to Reproduce:

  1. Create a conversation with at least 3 prompts
  2. Delete any message after the first message that isn't the last message

Expected Behavior:
All subsequent child messages should also be deleted.

Actual Behavior:
Only the first parent message is deleted.

Additional Information

I'll create a PR to address this, will follow the implementation suggested by @tjbck in https://github.com/open-webui/open-webui/pull/789#discussion_r1496816766 (manipulating the history graph object directly)

Originally created by @dannyl1u on GitHub (Mar 1, 2024). # Bug Report ## Description Reported in https://github.com/open-webui/open-webui/issues/962#issuecomment-1970690378 **Bug Summary:** Subsequent child messages not deleted when a message is deleted. **Steps to Reproduce:** 1. Create a conversation with at least 3 prompts 2. Delete any message after the first message that isn't the last message **Expected Behavior:** All subsequent child messages should also be deleted. **Actual Behavior:** Only the first parent message is deleted. ## Additional Information I'll create a PR to address this, will follow the implementation suggested by @tjbck in https://github.com/open-webui/open-webui/pull/789#discussion_r1496816766 (manipulating the history graph object directly)
Author
Owner

@dannyl1u commented on GitHub (Mar 3, 2024):

Marking issue as closed since it was decided that only the message pair (not all subsequent messages) should be deleted. User can edit the message and resubmit if they wish to have all children messages deleted.

@dannyl1u commented on GitHub (Mar 3, 2024): Marking issue as closed since it was decided that only the message pair (not all subsequent messages) should be deleted. User can edit the message and resubmit if they wish to have all children messages deleted.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#378