Skip to content

SignalDataImportTask fix to support WebDAV URL that has a context path - #1065

Merged
cnathe merged 1 commit into
release26.9-SNAPSHOTfrom
26.9_fb_signalDataContextPath
Sep 9, 2026
Merged

cnathe merged 1 commit into
release26.9-SNAPSHOTfrom
26.9_fb_signalDataContextPath

Conversation

@cnathe

@cnathe cnathe commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Rationale

Found by SignalDataFileWatcherTest on TeamCity running with contextPath = /labkey. The change makes the WebDAV lookup of the just-copied data file work when the server runs at a non-root context path. WebdavService.lookup() expects resolver paths without a contextPath. Swapping to lookupHref() applies the context-path substring (WebdavService.java:128-136) so resource resolves, the ExpData gets created, and the row's DataFile value is rewritten to the local copy.

Related Pull Requests

Changes

  • use WebdavService lookupHref instead of lookup in order to strip the contextPath prefix

- found by SignalDataFileWatcherTest on TeamCity running with contextPath = /labkey
@cnathe cnathe self-assigned this Sep 8, 2026
@cnathe
cnathe requested a review from labkey-klum September 8, 2026 20:24
@cnathe
cnathe merged commit 92f5761 into release26.9-SNAPSHOT Sep 9, 2026
7 checks passed
@cnathe
cnathe deleted the 26.9_fb_signalDataContextPath branch September 9, 2026 11:58
@labkey-nicka labkey-nicka added this to the 26.09 milestone Sep 9, 2026
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.

3 participants