Copied to clipboard

Flag this post as spam?

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


  • Huw Reddick 31 posts 162 karma points
    1 week ago
    Huw Reddick
    0

    MemberListView 2.0.2 not working in my Umbraco v8.6.3

    I installed the latest package, but get nothing, the manage members tab just sits there with the loading dots (I only have 6 members in the system.

    Is it maybe because I have a custom member Type?

    Any help appreciated

  • Robert Foster 434 posts 1642 karma points MVP admin c-trib
    7 days ago
    Robert Foster
    0

    Hi, Can you post any error messages from the JavaScript console, and check the Error Log in Umbraco as well...

  • Huw Reddick 31 posts 162 karma points
    4 days ago
    Huw Reddick
    0

    I will, check later and post any errors

  • Huw Reddick 31 posts 162 karma points
    4 days ago
    Huw Reddick
    0

    I get the following javascript error enter image description here

    I'm not getting anything show up in the umbraco log

  • Huw Reddick 31 posts 162 karma points
    4 days ago
    Huw Reddick
    100

    Got it working by replacing this

    //converts the value to a js bool
    function toBool(v) {
        if (Utilities.isNumber(v)) {
            return v > 0
        }
        if (Utilities.isString(v)) {
            return v === "true"
        }
        if (typeof v === "boolean") {
            return v
        }
        return false;
    }
    

    With

    //converts the value to a js bool
    function toBool(v) {
        if (typeof v === "number") {
            return v > 0
        }
        if (typeof v === "string") {
            return v === "true"
        }
        if (typeof v === "boolean") {
            return v
        }
        return false;
    }
    
  • Robert Foster 434 posts 1642 karma points MVP admin c-trib
    4 days ago
    Robert Foster
    0

    Hey,

    Yep, just did the same myself and committed it to the source. The Utilities javascript library only came into existence in 8.7-rc, sorry about that!.

    I've released new versions to resolve the issue.

  • Huw Reddick 31 posts 162 karma points
    3 days ago
    Huw Reddick
    0

    No problem. all working fine now.

Please Sign in or register to post replies

Write your reply to:

Draft