We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 8706 - Stats double clicking avoid process doesn't work with postgres
Stats double clicking avoid process doesn't work with postgres
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: Plug-ins
2.4.x
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-16 06:04 PDT by beghelli
Modified: 2014-04-22 13:37 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description beghelli 2014-04-16 06:04:19 PDT
DELETE and LIMIT don't work in Postgres.
Comment 1 beghelli 2014-04-16 06:18:02 PDT
Use timestamp to make register unique and delete by that
https://github.com/pkp/ojs/commit/fb069c2413c262d2ec7962db1ad3f661e2755549
Comment 2 Luiz Borges 2014-04-22 13:37:02 PDT
It is necessary to update the schema for the bug fix to work properly. I used the following for it:
php tools/dbXMLtoSQL.php -schema execute plugins/generic/usageStats/schema.xml