aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

after browse button failure remind user data provider name in the error message. #1351

Open MontrealSergiy opened 11 months ago

MontrealSergiy commented 11 months ago

When user tries to browse a data provider and it fails he is redirected to the list of all the dataproviders (index) with no info which storage failed. A message like 'check folder name' is provided but no mentioning which provider failed. After suggestion to check a folder name one would expect the portal to render the said provider page with folder name etc. Power user can use back button, but regular users are unaware, and might even forget the name of the folder or provider which they possibly just created. Perhaps there are good reason to redirect the user to the index, but should we at least mention the provider, if not folder name in the error message?

prioux commented 11 months ago

I changed the controller code:

"Cannot get list of files on Data Provider '#{@provider.name}'. Maybe the remote directory does not exist or is locked?"

This will go in my next commit. This was the message you saw right?

MontrealSergiy commented 11 months ago

great