Project

General

Profile

Actions

Bug #15230

closed

[wb2] Crash loading federated collection

Added by Peter Amstutz over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

  1. Perform a search that returns a collection result for a different cluster
  2. Double click on the collection to view it
  3. The page crashes:
TypeError: item.properties is undefined
./src/views/collection-panel/collection-panel.tsx/class_1.prototype.render
src/workbench2/src/views/collection-panel/collection-panel.tsx:124

  121 |     label='Content size' value={data && formatFileSize(data.fileSize)} />
  122 | <DetailsAttribute classLabel={classes.label} classValue={classes.value}
  123 |     label='Owner' value={item && item.ownerUuid} />
> 124 | {(item.properties.container_request || item.properties.containerRequest) &&
  125 |     <span onClick={() => dispatch<any>(navigateToProcess(item.properties.container_request || item.properties.containerRequest))}>
  126 |         <DetailsAttribute classLabel={classes.link} label='Link to process' />
  127 |     </span>

Viewing the same collection with the same workbench on its home cluster works fine.


Subtasks 1 (0 open1 closed)

Task #15240: Review 15230-fed-collection-crashResolvedPeter Amstutz05/17/2019Actions
Actions

Also available in: Atom PDF