Skip to content

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

@ShivangMishra

Description

@ShivangMishra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions