Needs work
Project:
Entity cache
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Feb 2012 at 10:13 UTC
Updated:
28 Mar 2019 at 10:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchComment module does this in attachLoad() - $comment->new = node_mark($comment->nid, $comment->changed);
Should be fixed in http://drupalcode.org/project/entitycache.git/commit/9116951
Comment #2
Georgii commentedThank you, catch!
I'll try to test this in the nearest future.
Comment #4
tobiasbThe arguments $comments is not by reference, therefore it can not work.
Comment #5
skwashd commented@tobiasb this patch looks good, but this is something that really needs test coverage.
Comment #6
Jorrit commentedThe array is not passed by reference but it contains a reference to the comment object, not the comment object itself. So changing a value on the reference does change it in the object, not just in the object in this array. Did you test if this was necessary?