Skip to content

Bug in DefaultResourceRepositoryInformationProvider#getPath? #776

Closed
@dmitrygusev

Description

@dmitrygusev

Current implementation is taking .getResourceType() from ResourceInformation, but should use .getResourcePath() I believe:

protected String getPath(ResourceInformation resourceInformation, Object repository) { // NOSONAR contract ok
return resourceInformation.getResourceType();
}

so it only works when both resourceType and resourcePath are the same

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions