zextras team zimlet deployed but not showing up for users - typeerror in console
Results 1 to 6 of 6

Thread: zextras team zimlet deployed but not showing up for users - typeerror in console

  1. #1
    Active Member
    Join Date
    Jul 2015
    Posts
    12

    Question zextras team zimlet deployed but not showing up for users - typeerror in console

    Hi, have just upgraded to 3.0.1 and trying out Team zimlet deployed to all users and although my admin user seems to be able to load and see the team tab and sidebar, no other regular users can see it. The mobile chat app works so the server is running it seems there is a typeerror in the zimlet code that is tripping up some browser versions.

    In their browser consoles I can see errors:
    Uncaught TypeError: (intermediate value)(...) is not a function
    at Zimlets-nodev_all.js.zgz?language=en&country=AU&cosId=c3a1 8e68-7e66-4b35-9843-52d025ca26b4:20586

    Line of code in the devtools is 20586:

    Code:
    var t=c;
    return o(o.s="./src/classic/index.js")
    }
    )({  <<<========================== error cross is marked here.
    "./src/classic/index.js":function(t,e,n){
    window.__TEAM_IS_CLASSIC_ZIMLET=true;
    window.__TEAM_USE_HASH_HISTORY=false;
    Anything else I should be looking at?

  2. #2
    Active Member
    Join Date
    Jul 2015
    Posts
    12
    As a followup, if I run the web interface with ?dev=1 then the team zimlet tab and sidebar loads for any user I try that on.

    Does that mean theres a bug in the minification somewhere?

    have tried flushing zimlet cache with no effect.

  3. #3
    Active Member
    Join Date
    Jul 2013
    Posts
    11
    Mine doesn't load for any users. Latest versions of everything.

    One question though - does zextras team require "Zimbra Chat" to be installed?

  4. #4
    Active Member
    Join Date
    Jul 2015
    Posts
    12
    My understanding is no. That the docs state the chat systems are mutually exclusive.

    I notice that for all my regular users the zextras drive zimlet also won't load without dev=1 (same error as above). I don't know why my admin user seems to work fine.

    My version is: Release 8.8.15_GA_3829.RHEL7_64_20190718141144 RHEL7_64 FOSS edition, Patch 8.8.15_P1

  5. #5
    Active Member
    Join Date
    Jul 2015
    Posts
    12
    I've logged a support ticket.

    There's a bit of a head scratcher for me that the latest firefox dev edition 70 seems to show a 401 error about a cookie token when trying to jump through to the error line from the console listing (even though the network panel shows the source javascript being loaded successfully as 200).

    I think thats a bit of a red herring, all my users are on chrome at the moment and they get the same error and can click through from their dev tools to the uncaught error type on line 20798 - no cookie issues there. Either way the type error is still logged and none of the zimlets load unless in dev mode. ahhh browsers...

    Not a developer, is there some magic incantation to rebuild the minified javascript or can that only happen at package build time by zextras?

  6. #6
    Active Member
    Join Date
    Jul 2015
    Posts
    12
    So I'll have to confirm when back in the office tomorrow, but it seems undeploying the team zimlet allows the drive and docs zimlets to work.

    redeplyoing the team zimlet after that and clearing the caches with zmprov fc all && zmprov fc zimlet and restarting the mailbox server as suggested by cine in the ticket seems to have got it working for my test accounts. Fingers crossed its good for everyone else.

    edit
    Also found this github issue for one of the zeta zimlets where it seems like a very similar issue (mentions caching) with a similar solution. One zimlet must be deployed after another in order to avoid the errors.

    https://github.com/Zimbra-Community/...let/issues/153
    Last edited by zimusr; 09-12-2019 at 01:01 PM. Reason: add github issue link

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •