You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
fm3
changed the title
Legacy link resolution should only used directoryName not the name
Legacy link resolution should only use directoryName not the name
Nov 28, 2024
Detailed Description
In
Dataset.scala
infindOneByNameAndOrganization
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 onlydirectoryName
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 theOR name = $name
clause from the query.The text was updated successfully, but these errors were encountered: