There is an issue with this module if the same entity id for different entity types is counted.

If for example there is node id 2 and user id 2 and both are counted, then the node counter will overwrite the user counter and vice versa.

This is because the merge query to write the counter is not correct and the schema for entity counter is not correct too.

I am providing a patch for this.

Comments

stefan.korn created an issue. See original summary.

stefan.korn’s picture

Assigned: stefan.korn » Unassigned
Status: Active » Needs review
StatusFileSize
new2.19 KB

omarlopesino’s picture

Status: Needs review » Fixed

I've reviewed the code and it looks good to me, it is clear that it fixes completely the bug. Thanks for the contribution!

This patch is committed and released in the 7.x-1.1 version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.