PKP Bugzilla – Bug 7626
Broken link on reviewer access to article file
Last modified: 2014-06-25 10:55:56 PDT
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
After a reviewer has accepted to review an article, he can't access the file. The links appears broken.
Debbuging the code, I found the cause on file classes/submission/reviewer/ReviewerAction.inc.php line 418. The result of call $reviewAssignment->getReviewRevision() is null.
Gustavo, what is the version history of this installation? As Editor, are you able to see that a review version is available, and can you download it from the Editor's interface? Does this problem appear to affect only a single submission, or all of them?
Version history: 2.3.0 -> 2.3.4 -> 2.3.6
As editor I can access the file normally.
I've tested two submissions of a same journal. The problem happens in both of them.
Gustav, are you handy with SQL? If so, you can turn on the "debug" setting in config.inc.php to dump SQL queries to the browser window. (Note that this will affect all viewers.) Do this briefly and attempt to download the file as Author; then review the query used to attempt to fetch the file information. Look through the "WHERE" clause conditions to see if you can find out which is causing the file not to match.
(Deferring; waiting for feedback)
I've tested this in 2.4 and the link on the reviewer/submission page which appears after a reviewer has agreed to a review assignment works correctly. There has been work done on review assignments since 2.3.6 -- Gustavo, is there any chance that you can upgrade and test a newer version?
sorry by staying away.
I'll clone my VM and try to upgrade to 2.4. I'll provide more information soon.
Deferring pending information.
Gustavo, did you have a chance to try this?
We've scheduled the upgrade to next month. I'll provide further information after that.
Any news on this?
Alec, currently we are using 2.4.3.
The broken links are not appearing anymore.