Skip to content

GitHub Issue 830: Assay design add transform script webdav path doesn't resolve from subfolder#1938

Open
cnathe wants to merge 1 commit intodevelopfrom
fb_transformSubfolder
Open

GitHub Issue 830: Assay design add transform script webdav path doesn't resolve from subfolder#1938
cnathe wants to merge 1 commit intodevelopfrom
fb_transformSubfolder

Conversation

@cnathe
Copy link
Contributor

@cnathe cnathe commented Feb 17, 2026

Rationale

#830 LIMS: Adding a Tx script from within a subfolder fails

When editing an assay design and dropping a transform script, we use the AssayProtocolModel domain container Id to get the containerPath before posting to the webdav controller action. We were checking the module context container Id value but not the parentId value when resolving the containerPath on the client side. This PR checks both when getting the AssayProtocolModel.container

Related Pull Requests

Changes

  • AssayProtocolModel.container to compare domain id to the container.parentId to get parentPath when applicable

…'t resolve from subfolder

  - AssayProtocolModel.container to compare domain id to the container.parentId to get parentPath when applicable
: domainContainerId === container.id
? container.path
: domainContainerId;
const domainContainerPath =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is the best way to fix this issue. Perhaps the path should be queried if containerId doesn't match, before constructing webdav url? This wouldn't work if editing a designer created from Shared project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants