cbrain icon indicating copy to clipboard operation
cbrain copied to clipboard

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

Open MontrealSergiy opened this issue 1 year ago • 2 comments

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?

MontrealSergiy avatar Sep 21 '23 20:09 MontrealSergiy

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?

prioux avatar Sep 21 '23 20:09 prioux

great

MontrealSergiy avatar Sep 21 '23 20:09 MontrealSergiy