Radioactivity doesn't work with entitycache module.
So if the initial energy is X, then on entity view the energy increases to X+10 for the first time in DB. But from the next time it gets the energy from cache (which is still X) and then add energy to it and so it is still X+10.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

varshith created an issue. See original summary.

varshith’s picture

Category: Task » Bug report
Issue summary: View changes
FileSize
825 bytes

I am not sure if this is the correct way to approach this. This quick patch fixes my issue.
This reduces the performance a bit but its async and so not really a big issue.

varshith’s picture

Assigned: varshith » Unassigned
Status: Active » Needs review
bibo’s picture

Thanks for the patch!

bibo’s picture

Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

Seems to work nice, this is simple and critical if both modules are used (unless the radioactivity using entities are excluded from that cache with entitycache alter hooks).

HLopes’s picture

Small patch for the patch (fixing wrong path, the existing one is using /profiles/commons/modules/contrib/radioactivity/radioactivity.module)

Sutharsan’s picture

Status: Reviewed & tested by the community » Needs review

Back to 'needs review', as a new patch got added.

  • Sutharsan committed 7977e60 on 7.x-2.x authored by HLopes
    Issue #2795497 by varshith, HLopes: Radioactivity doesn't work with...
Sutharsan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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