Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include full path in error messages about nonexistent files (e.g. when loading a workspace) #1354

Open
confluence opened this issue Jan 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@confluence
Copy link
Collaborator

At the moment if a workspace includes a file which is moved or deleted, when the workspace is loaded the error message about this file only contains the filename, not the full path to the file. This is unhelpful if the user has lots of files which have the same name but are in different subdirectories (this has actually come up recently, and seems like a common use case).

The error message should include the full path to the file. If possible (if it's not considered a security risk1) we should ensure that it's the correct absolute filesystem path in the case where the CARTA root is not the filesystem root. The user should be able to copy this path and use it directly for debugging.

  1. My understanding is that we use the CARTA root mostly to avoid showing the user irrelevant system directories, and that we don't rely on it for security, so exposing the real filesystem path to the CARTA root should not be a problem.
@confluence confluence added the enhancement New feature or request label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: New issues/PRs
Development

No branches or pull requests

1 participant