Skip to content

Vendordep manager installs incorrect version when installing from local copy #782

@rzblue

Description

@rzblue

The path value for local copies is set to the jsonUrl value from the local copy of the vendordep json, which will likely point to the generic "latest" json for that library. If that URL resolves, the json at that URL will be used instead of the local copy that the user has selected.

path: i18n('ui', homedep.jsonUrl),

let url = avail.path;
if (url.substring(0, 4) !== 'http') {
url = this.vendordepMarketplaceURL + url;
}
try {
dependency = await this.vendorLibraries.getJsonDepURL(url);
} catch {
dependency = this.homeDeps.find(
(homdep) => homdep.uuid === avail.uuid && homdep.version === avail.version
);

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