Hi there, in OJS 22.214.171.124, we see something unexpected regarding file numbers and galley links. We were running a script to apply metadata and license stamps on the first pages of all PDF files, when we noticed the following:
For the first 40 or so issues, the galley number in links, i.e. 5672 in …/index.php/[journal]/article/view/3745/5627 equals the number in the file name in the journal’s galley directory, i.e. …galleys/journals/1/articles/3745/public/3745-5627-1-PB.pdf
For newer issues, the two numbers are not identical - so the id number in a galley link is different from the file name actually being displayed or downloaded.
While we are not interested in fixing this retrospectively, we would like to fix this for future XML imports.
My guess is that through errors in XML uploads, two counters for files and galley database entrys got out of sync. To avoid messing around in the database, any advice on how to fix this without changing existing article and galley links would be very helpful. Thanks!