-
Notifications
You must be signed in to change notification settings - Fork 173
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
[Document Repository] Fixing bug in pathing #4466
[Document Repository] Fixing bug in pathing #4466
Conversation
Is this supposed to fix #4462? |
will approve after rebase |
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.
Looks good. Will test and rereview after rebase.
Tagging this with the 21 release because the fix is basically complete and this problem shouldn't be carried forward into v21. |
@johnsaigle is there a github issue reported from 21.0.0 testing relating to this? i'm going to rebase and change this branch |
16351ba
to
c142b41
Compare
Blocked to not conflict with the reactification of the module |
The document repo was almost entirely rewritten in #3971 (which unsurprisingly is causing conflicts).. is this still an issue? If so this PR needs to be rebased (or probably more easily just redone on the latest branch.) |
i will fix this PR! |
c142b41
to
ca80e11
Compare
@johnsaigle please have a look at this guy if you have time! |
Looks fine and passed manual tests for uploading; the back-end now properly puts the file where it should go. Downloading is still broken however but I think the cause is different. IMO this PR should be merged and further work will be done after to figure out what's going wrong. |
@johnsaigle yepp, the broken downloading is a separate issue that isn't taken care of in this PR. please hit approve if all good! |
Got rid of $fullPath usage. Code was checking for a directory named by the file, creating a directory named after the file, and uploading the file inside this new directory.
Brief summary of changes
Got rid of
$fullPath
usage. Code was checking for a directory named by the file, creating a directory named by the file, and uploading the file inside this new directory.This resolves issue...
Fixes uploading and downloading files in Document Repository
To test this change...