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

Destination/Source path bug in frontend #404

Open
jgoldverg opened this issue Sep 7, 2022 · 0 comments
Open

Destination/Source path bug in frontend #404

jgoldverg opened this issue Sep 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jgoldverg
Copy link
Contributor

Problem: When I try to submit a job using onedatashare.org where the destination I want all of the files to end up in a certain path, the resulting path supplied is the absolute path starting from the users home directory and not the absolute path.

To Re-create:

  1. Add 2 servers(2nd one being an sftp/scp/ftp server).
  2. Try submitting a job writing to the 2nd server, and in this view select a directory to dump the LHS files into.
    Say you are writing some collection of files from the LHS to the RHS into a directory called output/
    The frontend submits the TransferJobRequest such that the destination path in the request is /output. Which is incorrect bc there is no folder called output in the root but there is a folder /home/cc/output. Essentially the frontend is never aware of the users home directory and this is a bad assumption to make.

If you notice that after select an endpoint to list the sftp://, ftp:// at the top of the endpoint file list is the actual path being used which is not correct. I believe that this path is getting used as the destination path thus fixing the file view path to be correct will result in the transfer requests working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants