[ARVADOS-WORKBENCH2] created: 2.3.0-206-gb5113014
Git user
git at public.arvados.org
Mon Mar 28 20:57:56 UTC 2022
at b5113014027f01ed066365b6579f39681cb49b88 (commit)
commit b5113014027f01ed066365b6579f39681cb49b88
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Mon Mar 28 22:56:52 2022 +0200
18834: Fixed failing test in main
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/src/services/collection-service/collection-service.ts b/src/services/collection-service/collection-service.ts
index a3a7cf8f..0bddc82b 100644
--- a/src/services/collection-service/collection-service.ts
+++ b/src/services/collection-service/collection-service.ts
@@ -40,11 +40,11 @@ export class CollectionService extends TrashableResourceService<CollectionResour
listArgs.select = select;
}
- if (session) {
+ if (!session) {
const lst = await super.list(listArgs, showErrors);
return lst.items[0];
} else {
- return super.get(uuid, showErrors, session);
+ return super.get(uuid, showErrors, select, session);
}
}
diff --git a/src/views/search-results-panel/search-results-panel-view.tsx b/src/views/search-results-panel/search-results-panel-view.tsx
index 60fdd33e..e281035c 100644
--- a/src/views/search-results-panel/search-results-panel-view.tsx
+++ b/src/views/search-results-panel/search-results-panel-view.tsx
@@ -135,7 +135,7 @@ export const SearchResultsPanelView = withStyles(styles, { withTheme: true })(
if (sessions.length > 0) {
const session = sessions[0];
- const { name, ownerUuid } = await (service as any).get(searchUuid, false, session);
+ const { name, ownerUuid } = await (service as any).get(searchUuid, false, undefined, session);
tmpPath.push(name);
searchUuid = ownerUuid;
itemKind = extractUuidKind(searchUuid);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list