Latest YouTube Video

Wednesday, January 17, 2018

Subscriber postSave method saves/invalidates anonymous user (uid 0)

Problem: The postSave method in Subscriber.php line 273 saves the user entity received bei $this->getUser(). This user entity could be the anonymous user with ID 0. When the user 0 is saved the cache tags user:0 and user_list are invalidated and can lead to unexpected caching behaviors. Solution: ...

from Google Alert - anonymous http://ift.tt/2mM8i0L
via IFTTT

No comments: