Skip to content

Legacy link resolution should only use directoryName not the name #8237

@MichaelBuessemeyer

Description

@MichaelBuessemeyer

Detailed Description

In Dataset.scala in findOneByNameAndOrganization uses (directoryName = $name OR name = $name) to identify a dataset. We added the support for finding by name for edge case scenarios like a user creating a link to a renamed wk dataset with an outdated tool. However, using only directoryName stays more consistent with the past wk addressing model and does not have the potential to find a different dataset. Therefore we should consider removing the OR name = $name clause from the query.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions