Error view report

@christian_criollo,

Nice it is working now. I will change that into OJS code and the next release should have this fix.

About the report not having the last issue stats data, this is expected. The view report is an old report that used to grab it’s own data. After the stats rework that we did for earlier OJS versions, the view report is only a report template. All new stats data is collected by some other part of the system. Because we are collecting stats slightly different than before, we can’t merge them. So now you have 2 kinds of stats in OJS: the old one and the new one. See here for more details: http://pkp.sfu.ca/wiki/index.php?title=PKP_Statistics_Framework#Summary

In general, all stats reports can work with both stats types. You just have to tell the system which one you want. In your case, the view report uses by default the old stats. The old stats is there so you can still have your older published objects stats data, but this type of stats is not counted anymore. So that’s why you don’t see your newer published objects stats on that report. To use the new stats (since your upgrade to the newer OJS version) you can use this url:

YOUR_BASE_URL_HERE/index.php/JOURNAL_PATH/manager/report/ViewReportPlugin?metricType=ojs::counter

Then you will should have the stats you’re looking for.

Cheers,
Bruno