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 1702 posts 5999 karma points MVP c-trib
    Nov 20, 2020 @ 11:09
    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 459 posts 1820 karma points MVP 2x admin c-trib
    Nov 20, 2020 @ 19:16
    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 1702 posts 5999 karma points MVP c-trib
    Nov 23, 2020 @ 11:19
    Huw Reddick
    0

    I will, check later and post any errors

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Nov 23, 2020 @ 12:42
    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 1702 posts 5999 karma points MVP c-trib
    Nov 23, 2020 @ 13:03
    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 459 posts 1820 karma points MVP 2x admin c-trib
    Nov 23, 2020 @ 19:37
    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 1702 posts 5999 karma points MVP c-trib
    Nov 24, 2020 @ 08:44
    Huw Reddick
    0

    No problem. all working fine now.

Please Sign in or register to post replies

Write your reply to:

Draft