I discovered an issue with pdfobject and counting of pdf views in table article_galley when browsing with Firefox.
On article/view/articleId/galleyId with inline pdf: Each time using fullsize ON / Off a get request is called ('viewFile/articleId/galleyId'). Because pdf-view is incremented when requested 'viewFile ...' the counter is incorrect, and provides wrong user statistics therefore. I compared the report, generated by OJS, with the server log-file. My testcase shows significant differences.
I have no idea if it is a matter/bug of FF or of pdf-plugin or any other thing of jquery. Multiple get request only occurs in FF, not in Chrome or IE, I tested for comparing this behaviour.
Can anyone replicate it and confirm my observation, or is this only a strange behaviour within my test enviroment?
(It seems it would be more stable when counting pdf-views at first request of view/articleId/galleyId, see function view in ArticleHandler, not viewFile as it is in function viewFile in ArticleHandler. However, I am not gone deeper in source code (and I am not an expert), therefore, I know nothing about dependencies when code would be changed.)
OJS 184.108.40.206 resp OJS 220.127.116.11 ,
win7 resp win server 2003,
FF 7.0.1 ( with Adobe PDF-Plugin, vers 10.1.1.33) resp FF 3.6.10 with Adobe PDF-Plugin, vers 18.104.22.168 , IE8 ( with Adobe PDF Reader vers 10.1.1.33), chrome( with own integrated pdf viewer),