issue: Bug: possible to have two projects be the parent of each other, preventing them from being viewed #6454

Closed
opened 2025-11-11 16:55:27 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Codycody31 on GitHub (Sep 19, 2025).

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.30

Ollama Version (if applicable)

No response

Operating System

Arch Linux

Browser (if applicable)

Firefox

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Moving projects around nest or raise the level and correctly set the parent_id, while ensuring the parent_id's can't be one of the children of a project.

Actual Behavior

Depending on the scenario, you are able to make a project when moving it to have another as its parent; however, in that situation, the other one also has the initial one as its parent, creating a loop and preventing them from being shown in the UI.

Steps to Reproduce

  1. Create project A
  2. Create project B
  3. With some trying through dragging and dropping projects around, you can get project A to be a child of B, and B to be a child of A

Logs & Screenshots

[
  {
    "id": "b98a8b3d-5c43-4d38-9e20-6611c4c003cb",
    "parent_id": "8d8f49c1-0e00-4941-8b48-23ef3f03cb42",
    "user_id": "914e2ad5-9253-4b87-bd5c-eb3e720d0fc9",
    "name": "Coding",
    "items": {
      "chats": [
        {
          "title": "Pong Game",
          "id": "c878bb34-f638-4f74-8224-af473b9a442a",
          "updated_at": 1747339988
        }
      ]
    },
    "meta": null,
    "data": null,
    "is_expanded": false,
    "created_at": 1747339982,
    "updated_at": 1758305134
  },
  {
    "id": "8d8f49c1-0e00-4941-8b48-23ef3f03cb42",
    "parent_id": "b98a8b3d-5c43-4d38-9e20-6611c4c003cb",
    "user_id": "914e2ad5-9253-4b87-bd5c-eb3e720d0fc9",
    "name": "Coding Incubator",
    "items": {},
    "meta": null,
    "data": null,
    "is_expanded": true,
    "created_at": 1758247632,
    "updated_at": 1758306505
  }
]

Additional Information

No response

Originally created by @Codycody31 on GitHub (Sep 19, 2025). ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.30 ### Ollama Version (if applicable) _No response_ ### Operating System Arch Linux ### Browser (if applicable) Firefox ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Moving projects around nest or raise the level and correctly set the parent_id, while ensuring the parent_id's can't be one of the children of a project. ### Actual Behavior Depending on the scenario, you are able to make a project when moving it to have another as its parent; however, in that situation, the other one also has the initial one as its parent, creating a loop and preventing them from being shown in the UI. ### Steps to Reproduce 1. Create project A 2. Create project B 3. With some trying through dragging and dropping projects around, you can get project A to be a child of B, and B to be a child of A ### Logs & Screenshots ```json [ { "id": "b98a8b3d-5c43-4d38-9e20-6611c4c003cb", "parent_id": "8d8f49c1-0e00-4941-8b48-23ef3f03cb42", "user_id": "914e2ad5-9253-4b87-bd5c-eb3e720d0fc9", "name": "Coding", "items": { "chats": [ { "title": "Pong Game", "id": "c878bb34-f638-4f74-8224-af473b9a442a", "updated_at": 1747339988 } ] }, "meta": null, "data": null, "is_expanded": false, "created_at": 1747339982, "updated_at": 1758305134 }, { "id": "8d8f49c1-0e00-4941-8b48-23ef3f03cb42", "parent_id": "b98a8b3d-5c43-4d38-9e20-6611c4c003cb", "user_id": "914e2ad5-9253-4b87-bd5c-eb3e720d0fc9", "name": "Coding Incubator", "items": {}, "meta": null, "data": null, "is_expanded": true, "created_at": 1758247632, "updated_at": 1758306505 } ] ``` ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:55:27 -06:00
Author
Owner

@tjbck commented on GitHub (Sep 19, 2025):

Ways to reproduce in UI?

@tjbck commented on GitHub (Sep 19, 2025): Ways to reproduce in UI?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6454