From b3a2a358dfa856d5940c5a3af545802008da2c2d Mon Sep 17 00:00:00 2001 From: aldbr Date: Fri, 11 Oct 2024 16:53:09 +0200 Subject: [PATCH] fix(WMS): SandboxStore not able to assign a sandbox to a job --- .../WorkloadManagementSystem/Service/SandboxStoreHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/WorkloadManagementSystem/Service/SandboxStoreHandler.py b/src/DIRAC/WorkloadManagementSystem/Service/SandboxStoreHandler.py index eadff6017fc..cf5075ebfc8 100755 --- a/src/DIRAC/WorkloadManagementSystem/Service/SandboxStoreHandler.py +++ b/src/DIRAC/WorkloadManagementSystem/Service/SandboxStoreHandler.py @@ -151,7 +151,7 @@ def _getFromClient(self, fileId, token, fileSize, fileHelper=None, data=""): gLogger.info("Sandbox already exists. Skipping upload") if fileHelper: fileHelper.markAsTransferred() - sbURL = f"SB:{self.__localSEName}|sbPath" + sbURL = f"SB:{self.__localSEName}|{sbPath}" assignTo = {key: [(sbURL, assignTo[key])] for key in assignTo} result = self.export_assignSandboxesToEntities(assignTo) if not result["OK"]: