Hello,
While testing OMP 3.5.0-5, I noticed a possible regression in the file replacement workflow under Publication Formats.
I can reproduce the same behaviour in two separate OMP 3.5.0-5 installations:
-
a staging installation upgraded from OMP 3.4.0-9 to 3.5.0-5;
-
a clean local OMP 3.5.0-5 installation.
Steps to reproduce
-
Open a submission/publication that has reached the Production stage.
-
Create a Publication Format, for example PDF or EPUB.
-
Add a publication file to the format.
-
Go back to the Publication Format and select Change File.
-
Upload another file.
Actual behaviour
In OMP 3.5.0-5, the upload workflow does not provide any option to:
-
select which existing file should be revised/replaced; or
-
specify whether the uploaded file is a new file or a revision of an existing file.
After uploading the replacement file, it is added alongside the existing file under the Publication Format instead of replacing/revising it.
This becomes particularly unclear when a Publication Format already contains more than one file, because there is no way to indicate which of the existing files should be replaced.
Expected behaviour
In OMP 3.4, the Change File workflow allows an existing file to be selected and a new version to be uploaded as a revision of that file.
I would expect OMP 3.5 to provide the same possibility: select the existing publication file that should be revised and upload a replacement version for that file, rather than creating an additional publication file.
Why this is important
This is an important workflow for us because it allows us to correct or replace an already prepared/published PDF or EPUB while keeping the existing public file URL unchanged.
Stable file URLs are particularly important for already published and DOI-registered content and for URLs that may already be referenced by external services.
With the current OMP 3.5 behaviour, the only apparent option is to add a new file, which creates a separate file record rather than a revision of the existing publication file.
Versions tested
-
OMP 3.4.0-9 – existing file revision/replacement workflow is available
-
OMP 3.5.0-5 – issue reproduced after upgrade
-
OMP 3.5.0-5 – issue also reproduced on a clean localhost installation
I searched the PKP Community Forum and the GitHub issues but could not find a report describing this exact OMP 3.5 behaviour.
Thank you in advance for looking into this. I am not very familiar with this part of the codebase, but the underlying revision logic seems to be present, so the issue may be limited to the user interface. If I have missed or misunderstood anything, I would be happy to provide more details or help with further testing.
Thank you!

