From 00e0492bb53e93360795eb7feb3b0baefc06383d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elena=20Torr=C3=B3?= Date: Fri, 4 Sep 2026 13:49:37 +0200 Subject: [PATCH] :bug: Fix import libraries missing team-id (#11505) --- backend/src/app/http/debug.clj | 5 +++++ backend/src/app/rpc/commands/management.clj | 1 + 2 files changed, 6 insertions(+) diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 1908cbd045..edcef0bb50 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -366,10 +366,14 @@ (if clone? (let [profile (profile/get-profile pool profile-id) project-id (:default-project-id profile) + team (teams/get-team pool + :profile-id profile-id + :project-id project-id) cfg (assoc cfg ::bfc/overwrite false ::bfc/profile-id profile-id ::bfc/project-id project-id + ::bfc/team-id (:id team) ::bfc/input path ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size) ::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))] @@ -628,6 +632,7 @@ ::bfc/profile-id profile-id ::bfc/project-id project-id ::bfc/input path + ::bfc/team-id (:id team) ::bfc/features (cfeat/get-team-enabled-features cf/flags team) ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size) ::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))] diff --git a/backend/src/app/rpc/commands/management.clj b/backend/src/app/rpc/commands/management.clj index 7725320e12..ecb805d4a3 100644 --- a/backend/src/app/rpc/commands/management.clj +++ b/backend/src/app/rpc/commands/management.clj @@ -425,6 +425,7 @@ cfg (-> cfg (assoc ::bfc/project-id project-id) (assoc ::bfc/profile-id profile-id) + (assoc ::bfc/team-id (:id team)) (assoc ::bfc/input template) (assoc ::bfc/features (cfeat/get-team-enabled-features cf/flags team)) (assoc ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size))