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

directory.resourcePath and directory.friendlyName are empty strings in the response of MFTTransferService.resourceMetada method. #129

Open
ShivangMishra opened this issue Mar 30, 2024 · 1 comment

Comments

@ShivangMishra
Copy link
Contributor

Not sure if this is the intended behavior of MFTTransferService.resourceMetada method, please let me know if it is.
When I send a request to get the resource meta-data for a particular directory, I'd expect to get the resourcePath and/or friendlyName of that directory in the response as well.

But here, the resourcePath and friendlyName both are empty strings.

I needed this data to maintain a tree structure for the folders which the user has visited inside the airavata mft local user interface. It will also be helpful to cache it and prevent redundant requests when the user clicks on a folder, goes back to the parent folder and then clicks on the same folder again within a few seconds.

image
image

One more example -

image
image

@ShivangMishra
Copy link
Contributor Author

And one more issue - here depth-2 is an empty directory, but in the response, it shows that there is a file named depth-2 inside depth-2 directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant