[arvados-workbench2] updated: 2.4.0-227-g6ec656e6

git repository hosting git at public.arvados.org
Mon Oct 3 08:27:27 UTC 2022


Summary of changes:
 src/common/frozen-resources.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  6ec656e63158b084e0c62abf0761b6ee84118fac (commit)
      from  e64ff06a99c7a22c367602a5311c0636a0cf7dca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 6ec656e63158b084e0c62abf0761b6ee84118fac
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Mon Oct 3 10:26:13 2022 +0200

    18692: Aditional while loop variable added
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/common/frozen-resources.ts b/src/common/frozen-resources.ts
index 10e18151..7670720a 100644
--- a/src/common/frozen-resources.ts
+++ b/src/common/frozen-resources.ts
@@ -9,7 +9,7 @@ export const resourceIsFrozen = (resource: any, resources): boolean => {
     let isFrozen: boolean = !!resource.frozenByUuid;
     let ownerUuid: string | undefined = resource?.ownerUuid;
 
-    while(!isFrozen && !!ownerUuid) {
+    while(!isFrozen && !!ownerUuid && resource.uuid !== ownerUuid) {
         const parentResource: ProjectResource | undefined = getResource<ProjectResource>(ownerUuid)(resources);
         isFrozen = !!parentResource?.frozenByUuid;
         ownerUuid = parentResource?.ownerUuid;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list