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.

Bug 7626 - Broken link on reviewer access to article file
Broken link on reviewer access to article file
Product: OJS
Classification: Unclassified
Component: Reviewers
All Linux
: P3 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2012-06-25 10:29 PDT by Gustavo Tonini
Modified: 2014-06-25 10:55 PDT (History)
2 users (show)

See Also:
Version Reported In:
Also Affects:


Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Tonini 2012-06-25 10:29:24 PDT
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.
Comment 1 Alec Smecher 2012-06-25 11:07:22 PDT
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?
Comment 2 Gustavo Tonini 2012-06-25 13:33:21 PDT
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.
Comment 3 Alec Smecher 2012-06-25 13:38:34 PDT
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.
Comment 4 Alec Smecher 2012-08-20 11:16:44 PDT
(Deferring; waiting for feedback)
Comment 5 Jason Nugent 2012-09-12 10:44:19 PDT
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?
Comment 6 Gustavo Tonini 2012-09-21 05:05:39 PDT
Hello people,
sorry by staying away.

I'll clone my VM and try to upgrade to 2.4. I'll provide more information soon.
Comment 7 Alec Smecher 2012-10-01 12:20:16 PDT
Deferring pending information.
Comment 8 Alec Smecher 2013-01-02 12:04:06 PST
Gustavo, did you have a chance to try this?
Comment 9 Gustavo Tonini 2013-01-14 11:39:23 PST
We've scheduled the upgrade to next month. I'll provide further information after that.
Comment 10 Alec Smecher 2014-06-25 08:50:48 PDT
Any news on this?
Comment 11 Gustavo Tonini 2014-06-25 10:55:18 PDT
Alec, currently we are using 2.4.3. 
The broken links are not appearing anymore.
Comment 12 Alec Smecher 2014-06-25 10:55:56 PDT
Thanks, Gustavo!