ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Web - Download button is disabled for record with data #412

Closed dvstans closed 4 years ago

dvstans commented 4 years ago

After successful upload, record shows correct data size, but download button remains disabled.

dvstans commented 4 years ago

This is due to the 'size' field in the data tree not being updated after the upload (so the UI thinks the record still has no data).

dvstans commented 4 years ago

A possible solution for this is to have the web app detected when there is a difference between what is shown in the info panel (when user selects a record) and the information encoded in the tree node. If there is a difference (size, title, alias, etc), the the web app could trigger a UI update via the model which would update all the trees.

dvstans commented 4 years ago

Fixed.