qbicsoftware / projectbrowser-portlet

QBiC Project Browser enables users to browse and manage their projects. Further, users can run analysis pipelines on registered data.
MIT License
0 stars 3 forks source link

Datasets whose paths haven't been added to openBIS crash the download tab(s) #24

Open wow-such-code opened 4 years ago

wow-such-code commented 4 years ago

For displaying and downloading the directory tree of a dataset in the Dataset tab (maybe also other tabs), an entry in the openBIS path info DB is needed, the success of which is denoted by these log messages:

2020-09-08 15:07:34,077 INFO [post-registration - Maintenance Plugin] OPERATION.PostRegistrationMaintenanceTask - Post registration of 1. of 2 data sets: 20200908133753172-xxxx 2020-09-08 15:07:34,188 INFO [post-registration - Maintenance Plugin] OPERATION.PathInfoDatabaseFeedingTask - Paths inside data set 20200908133753172-xxxx successfully added to database. Data set size: 48

The task adding these paths is connected to checksum creation and is handled via queue. This means the registration of many/large datasets can lead to a significant delay, which currently leads to a Nullpointer Exception if the Dataset tab is opened, see: https://qbic.zendesk.com/agent/tickets/2132

Users should at least be informed that their datasets are still being processed. Maybe we can also find a workaround for downloading datasets whose paths are missing from the path info db.