[OJS 3.2.4.1] Readers can't view pdfs

Hi all,

@diegomejia07, this is caused by an inconsistency in the database. The redirect to search is happening here:

It’s caused by falling through this condition:

My guess is that the status column in the submissions table does not match the value in the publications table. Try:

SELECT p.status, s.status FROM submissions s JOIN publications p ON (s.current_publication_id = p.publication_id) WHERE s.submission_id = 17;

Regards,
Alec Smecher
Public Knowledge Project Team