umbraco/Umbraco-CMS — pull request #353 by eerrecart (2014-04-15 00:50:49+00:00)
Title: fix for: U4-4696. Macro personalized cache with custom membership provider not working

When using a custom membership provider, macro with "Cache Personalized enabled" is not working: the macro result is never added to the cache collection, and the macro is processed in each request.

This happens when on umbraco.AddMacroResultToCache() line 522 the "Member.GetCurrentMember()" method returns null since you are on a custom provider, the helper can't return a Member entity.