-
Notifications
You must be signed in to change notification settings - Fork 444
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
Dependent file upload fails when confirm revision is detected #6421
Comments
This happens when a handler's PRs (master): PRs (stable): |
Ugh.. I went through all this and forgot to fix the original problem: that there is an auth failure. Working on that now... |
Ok, fixed the authorization problem in Tests are running. |
#6421 Fix auth error when confirming revision
#6421 Fix auth error when confirming revision
Merged. |
Describe the bug
When uploading a dependent file that has a name similar to an existing file, the software will detect a possible duplicate and ask the user if this is a revision of an existing file.
If you select no, it is not a dependent file, and click next, the upload fails with an exception in the authorization handler.
I was only able to reproduce this with dependent files.
I suspect this is related to authorization changes made in #6257. If so, it may not effect the
master
branch.To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS 3.2.1-2
Additional information
The error log:
The text was updated successfully, but these errors were encountered: