Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mika Frisk 1 post 71 karma points
    Jun 14, 2016 @ 18:37
    Mika Frisk
    0

    Member api missing some property data

    I am having a problem when I fetch member data through Umbraco's member api. Most of the members come out nicely, but some members have no values in properties at all even if in the backoffice they have those properties properly set. In example I have property "profession" and value "Doctor" in it, it doesn't show that if I fetch the member. This also seems to cause those members not to be able to login.

    We have tried to fetch the data through host/backoffice/umbracoapi/member/getpagedresults and specific members by MemberServices GetById(), both ways have same issue.

    We also checked that the content actually exists in the database with following SQL command and the data is as it shows up in the backoffice.

    SELECT
        A.nodeId MemberNodeId,
        A.Email,
        C.*
    FROM
        cmsMember A,
        umbracoNode B,
        cmsPropertyData C
    WHERE
        A.Email LIKE '[email protected]' AND
        B.id=A.nodeId AND
        C.contentNodeId=B.id AND
        (C.dataInt IS NOT NULL OR C.dataNvarchar IS NOT NULL OR C.dataNtext IS NOT NULL)
    

    Has this happened to someone else too and what could cause this? We are using Umbraco 7.2.1, if that matters.

Please Sign in or register to post replies

Write your reply to:

Draft