-
Notifications
You must be signed in to change notification settings - Fork 7
File path related issue bundle #6847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
a39b7b6
File path related bugs
XingY a7dc3c7
Merge branch 'refs/heads/develop' into fb_filePathIssues
labkey-jeckels 4f7a260
fix relative path import
XingY a272233
fix invalid path that starts with file scheme, or if under root but d…
XingY ef9b4a3
Merge branch 'develop' into fb_filePathIssues
XingY 333ab4f
fix assay import exception handling, disable sort filter for attachme…
XingY d27a817
allow sort filter for attachment columns
XingY 8d8c1dd
Bug fixes for cross folder import
XingY 30c6657
Merge branch 'develop' into fb_filePathIssues
XingY 618ab5a
Selenium tests
XingY b7f2c1f
Fix assayfile import
XingY 4addc97
Merge branch 'develop' into fb_filePathIssues
XingY 7f0bfbc
add test coverage for study dataset
XingY 60a2b2a
fix various assay api, add tests for assay api
XingY 371b587
clean
XingY 734f58d
clean
XingY 6bb3c3d
Merge branch 'develop' into fb_filePathIssues
XingY e3cbed5
Merge branch 'develop' into fb_filePathIssues
XingY bdb93d6
rename
XingY a2b48a8
refactor for attachment
XingY 461682c
refactor for attachment
XingY 8a723bf
Merge branch 'develop' into fb_filePathIssues
XingY 36866fd
code review changes
XingY 716c06f
Fix relative path
XingY 8d38384
Merge branch 'develop' into fb_filePathIssues
XingY 72977bd
no converter
XingY a31ef1f
code review changes
XingY 233bb66
Fix assay run api, more cleaning up
XingY a2997a9
Merge branch 'develop' into fb_filePathIssues
XingY f3053d5
fix more tests
XingY 92616e0
Merge branch 'develop' into fb_filePathIssues
XingY e2b8a2a
fix tests for Windows with quoted path
XingY d5b5e25
fix tests for Windows with quoted path
XingY c2aee9e
more code review changes, add test for LKS file availability check
XingY eec1c62
Merge branch 'develop' into fb_filepathIssues
XingY 793f9ea
fix cross folder saveRows api
XingY File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice check here. It would be nice if getFileName() had an explicit structured return (e.g. record(String fileDisplay,Boolean available), but this is workable. I wonder about the case in FileLinkDisplayColumn where we fall back to
result = f.getName()
when we don't find the file in an expected "file root".What is the expected behavior in this case? Should we treat as "unavailable"? Should we render a URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the case of
result = f.getName()
when we fail to find file in root,valid
is false, and the "unavailable" suffix will be added.I added selenium test for grid and update view for LKS unavailable file both due to invalid path (exists but out side of file root) and absent file (file deleted after upload) in this commit