[BUG] Whitelabeling does not allow any actions

オープン
#4,634 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
next.js, typescript
領域
full-stack

調査の方向性

Reproduce the issue in the whitelabeling settings UI and inspect the requests made when editing the name or saving changes. The report shows failures from /api/workspaces/{id}/files and /api/workspaces/{id}/files/folders; use those routes and the server logs to identify the blocking error. Done means whitelabel settings actions work and the reported errors no longer occur.

索引モデルが issue の本文から書いたものです。

説明

bug

Whitelabeling does not allow any actions: the name cannot be edited or any changes can be made.

Image
- Local:         http://localhost:7860
- Network:       http://0.0.0.0:7860
✓ Ready in 0ms
2026-05-16T18:06:56.543Z INFO [Better Auth]: No active organization found, returning null
{"timestamp":"2026-05-16T18:06:58.019Z","level":"ERROR","module":"WorkspaceFileStorage","message":"Failed to list workspace files for f8358999-7aee-4b9c-9909-62b6b2f39fc0:","requestId":"fa6581a6","method":"GET","path":"/api/workspaces/f8358999-7aee-4b9c-9909-62b6b2f39fc0/files","error":"Failed query: select \"id\", \"key\", \"user_id\", \"workspace_id\", \"folder_id\", \"context\", \"chat_id\", \"original_name\", \"display_name\", \"content_type\", \"size\", \"deleted_at\", \"uploaded_at\", \"updated_at\" from \"workspace_files\" where (\"workspace_files\".\"workspace_id\" = $1 and \"workspace_files\".\"context\" = $2 and \"workspace_files\".\"deleted_at\" is null) order by \"workspace_files\".\"uploaded_at\"\nparams: f8358999-7aee-4b9c-9909-62b6b2f39fc0,workspace","stack":"Error: Failed query: select \"id\", \"key\", \"user_id\", \"workspace_id\", \"folder_id\", \"context\", \"chat_id\", \"original_name\", \"display_name\", \"content_type\", \"size\", \"deleted_at\", \"uploaded_at\", \"updated_at\" from \"workspace_files\" where (\"workspace_files\".\"workspace_id\" = $1 and \"workspace_files\".\"context\" = $2 and \"workspace_files\".\"deleted_at\" is null) order by \"workspace_files\".\"uploaded_at\"\nparams: f8358999-7aee-4b9c-9909-62b6b2f39fc0,workspace\n    at tI.queryWithCache (/app/apps/sim/.next/server/chunks/packages_db_0o7tnvl._.js:27:38907)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async /app/apps/sim/.next/server/chunks/packages_db_0o7tnvl._.js:27:41585\n    at async B (/app/apps/sim/.next/server/chunks/apps_sim_lib_0x28gt1._.js:1:49705)\n    at async /app/apps/sim/.next/server/chunks/[root-of-the-server]__10y7n~i._.js:1:6759\n    at async /app/apps/sim/.next/server/chunks/[root-of-the-server]__0qx9y8e._.js:1:1108\n    at async rW.do (/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js:5:20926)\n    at async rW.handle (/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js:5:25781)\n    at async l (/app/apps/sim/.next/server/chunks/[root-of-the-server]__10y7n~i._.js:1:12396)\n    at async rW.handleResponse (/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js:1:119701)"}
{"timestamp":"2026-05-16T18:06:58.959Z","level":"ERROR","module":"RouteHandler","message":"Unhandled route error","requestId":"a1a62ab6","method":"GET","path":"/api/workspaces/f8358999-7aee-4b9c-9909-62b6b2f39fc0/files/folders","duration":522,"error":"Failed query: select \"id\", \"name\", \"user_id\", \"workspace_id\", \"parent_id\", \"sort_order\", \"deleted_at\", \"created_at\", \"updated_at\" from \"workspace_file_folders\" where (\"workspace_file_folders\".\"workspace_id\" = $1 and \"workspace_file_folders\".\"deleted_at\" is null) order by \"workspace_file_folders\".\"sort_order\" asc, \"workspace_file_folders\".\"created_at\" asc\nparams: f8358999-7aee-4b9c-9909-62b6b2f39fc0"}
.........
....
主要言語
TypeScript
スター
29.8k
フォーク
3.9k
平均マージ
1時間 44分
マージ済み PR(30日)
841

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simstudioai/sim のほかの issue

simstudioai/sim の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。