Project

General

Profile

Bug #15230

Updated by Peter Amstutz almost 5 years ago

# Perform a search that returns a collection result for a different cluster 
 # Double click on the collection to view it 
 # The page crashes: 

 <pre> 
 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> 
 </pre> 

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

Back