GetAllMembers intermittently missing some members and duplicating others
Hi everyone,
I'm having a strange issue with MemberService's GetAllMembers() method inside a view (untested outside a view).
I'm still in development so only have two members on my site at this stage, which I'll call MemberA and MemberB.
Some of the time, GetAllMembers() returns both MemberA and MemberB, as I'd expect. But other times, it returns MemberA twice and doesn't return MemberB at all.
GetMembersByMemberType("Member") appears to return MemberA and MemberB 100% of the time, so that seems to be a suitable workaround, but I'd still love to know what's going wrong in the first place.
Umbraco 13.1.1 running on Windows with SQL Server.
GetAllMembers intermittently missing some members and duplicating others
Hi everyone,
I'm having a strange issue with MemberService's GetAllMembers() method inside a view (untested outside a view).
I'm still in development so only have two members on my site at this stage, which I'll call MemberA and MemberB.
Some of the time, GetAllMembers() returns both MemberA and MemberB, as I'd expect. But other times, it returns MemberA twice and doesn't return MemberB at all.
GetMembersByMemberType("Member") appears to return MemberA and MemberB 100% of the time, so that seems to be a suitable workaround, but I'd still love to know what's going wrong in the first place.
Umbraco 13.1.1 running on Windows with SQL Server.
Any ideas?
is working on a reply...