ezra-g’s picture

Priority: Normal » Major
ezra-g’s picture

Priority: Major » Critical
gnuget’s picture

Assigned: Unassigned » gnuget
gnuget’s picture

I almost finish this issue but i found two bugs who needs be fixed before to fix this one:

#1845520: $node undefined in commons_radioactivity_flag().
#1845510: Fatal error when a comment is created

I will working in these two issues, and after i will back to this.

gnuget’s picture

Status: Active » Needs review
1.33 KB


I attach a patch for the commons_follow module.

ezra-g’s picture

Status: Needs review » Needs work

Thanks, gnuget!

This looks good overall. One improvement:

   $flag->flag('flag', $nid);

Let's use an $account parameter there, taken from the $node or $comment uid. That way, programmatic insertions of nodes and comments will be consistent with ones done through the UI.

gnuget’s picture

Status: Needs work » Needs review
1.44 KB

I added the change on this new patch.

In the version of today seems the follow_node flag is not longer associated with posts, i don't sure if this is a bug or is a new default behaviour

ezra-g’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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