Hi Bozana,
Thanks for your response. Here are some details that hopefully will help.
We migrated from 2.4.8.0 (not 2.4.8.1 as previously reported) to 3.1.1.0 directly.
Here’s an article from the current issue of the journal http://cjds.uwaterloo.ca/index.php/cjds/article/view/421 that is the first issue published since upgrading to OJS 3.1.1. The HTML version of the article has image tags that reference the original file names: Article1-Figure1.png, Article1-Figure2.png, and Article1-Figure3.png, respectively.
The data in the submission_files table for submission_id = 421 shows that the original_file_name is indeed those values. They have a file_stage of 17.
+---------------+----------+---------+----------+-----------------+-----------------------------------------+------------+---------------------+
| submission_id | assoc_id | file_id | revision | file_type | original_file_name | file_stage | date_modified |
+---------------+----------+---------+----------+-----------------+-----------------------------------------+------------+---------------------+
| 421 | NULL | 1351 | 1 | application/pdf | Article_1_Parekh_Giftedness_FINAL-s.pdf | 11 | 2018-07-19 09:52:55 |
| 421 | NULL | 1364 | 1 | text/html | Article 1 Parekh Giftedness.html | 11 | 2018-07-19 15:30:14 |
| 421 | 659 | 1377 | 1 | application/pdf | Article_1_Parekh_Giftedness_FINAL-s.pdf | 10 | 2018-07-19 15:47:13 |
| 421 | 1416 | 1418 | 1 | image/png | Article1-Figure2.PNG | 17 | 2018-07-24 10:56:08 |
| 421 | 1416 | 1419 | 1 | image/png | Article1-Figure3.PNG | 17 | 2018-07-24 10:56:22 |
| 421 | 688 | 1416 | 1 | text/html | New Article 1 Parekh Giftedness.html | 10 | 2018-07-24 10:55:20 |
| 421 | 1416 | 1417 | 1 | image/png | Article1-Figure1.PNG | 17 | 2018-07-24 10:55:50 |
+---------------+----------+---------+----------+-----------------+-----------------------------------------+------------+---------------------+
The images are dependants of the HTML galley within that article.
In the /home/cjds/files/journals/1/articles/421/submission/proof/ folder, here are the files:
421-10-1417-1-17-20180724.png
421-10-1418-1-17-20180724.png
421-10-1419-1-17-20180724.png
421-1-1377-1-10-20180719.pdf
421-1-1416-1-10-20180724.html
I hope this helps clarify things.
Graham
EDIT: Here are the articles which now have broken images after the upgrade. As per the new article mentioned above, they each reference the correct original file name listed in the database.
• http://cjds.uwaterloo.ca/index.php/cjds/article/view/110/224
• http://cjds.uwaterloo.ca/index.php/cjds/article/view/172/290
• http://cjds.uwaterloo.ca/index.php/cjds/article/view/352/589
As well, for further info, for article #110, the files available in /home/cjds/files/journals/1/articles/110/submission/proof/ are:
110-10-378-1-17-20130926.png
110-10-379-1-17-20130926.png
110-10-380-1-17-20130926.png
110-10-381-1-17-20130926.png
110-10-382-1-17-20130926.gif
110-10-383-1-17-20130926.png
110-10-384-1-17-20130926.png
110-10-385-1-17-20130926.png
110-10-386-1-17-20130926.png
110-10-387-1-17-20130926.png
110-10-388-1-17-20130926.png
110-10-389-1-17-20130926.png
110-10-390-1-17-20130926.png
110-10-391-1-17-20130926.png
110-1-377-3-10-20130927.html
110-1-394-1-10-20130927.pdf