[SOLVED] JS error on tasks tab in Zimbra 9 OSE

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
danielb
Posts: 35
Joined: Mon Jul 15, 2019 6:08 pm

[SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by danielb »

Hi all.
I'm running Zimbra OSE 9.0.0.p25 (built from source) on EL8. Everything is working nively, but one user has an issue displaying it's task : the tab doesn't load, with the following JS error

Code: Select all

Startup1_1_all.js.zgz?v=220619225831:602 Uncaught ReferenceError: colLabel is not defined
    at ZmTaskListView.createHeaderHtml (TasksCore_all.js.zgz?v=220619225831:908:19)
    at DwtListView.setUI (Startup1_1_all.js.zgz?v=220619225831:9004:6)
    at ZmListView.setUI (Startup1_2_all.js.zgz?v=220619225831:7460:68)
    at DwtListView.set (Startup1_1_all.js.zgz?v=220619225831:9001:6)
    at ZmListView.set (Startup1_2_all.js.zgz?v=220619225831:7454:28)
    at ZmTaskListView.reRenderListView (TasksCore_all.js.zgz?v=220619225831:1036:6)
    at ZmTaskMultiView.setReadingPane (Tasks_all.js.zgz?v=220619225831:5545:4)
    at new ZmTaskMultiView (Tasks_all.js.zgz?v=220619225831:5519:6)
    at ZmTaskListController._initialize (TasksCore_all.js.zgz?v=220619225831:251:107)
    at ZmBaseController._setup (Startup1_2_all.js.zgz?v=220619225831:9511:52)
 
Not a general problem as all the other users can access their tasks with no issue. Anyone here knows how I could debug this ?
Last edited by danielb on Wed Aug 03, 2022 12:36 pm, edited 1 time in total.
danielb
Posts: 35
Joined: Mon Jul 15, 2019 6:08 pm

Re: JS error on tasks tab in Zimbra 9 OSE

Post by danielb »

I found a way to have tasks working again. The problem was in the LDAP attr zimbraPrefSortOrder of the user. Not sure exactly what was wrong with it. It had the following value

Code: Select all

2:dateDesc,2133a10c-c192-4875-953b-dd1e8bc1c253:2,3:dateDesc,BDLV:,CAL:,CLV:,CLV-SR-1:dateDesc,CLV-SR-2:dateDesc,CLV-SR-3:dateDesc,CLV-main:dateDesc,CNS:,CNSRC:,CNTGT:,CV:,TKL:,TKL-main:dateDesc,TV:,TV-main:dateDesc
I've set it to the same value as a new user

Code: Select all

BDLV:,CAL:,CLV:,CLV-main:dateDesc,CNS:,CNSRC:,CNTGT:,CV:,TKL:,TV:
(made the change with Apache Directory Studio)
saket.patel
Zimbra Employee
Zimbra Employee
Posts: 137
Joined: Mon Apr 11, 2022 8:39 pm

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by saket.patel »

We tried many user interactions to reproduce this problem to find out root cause of getting wrong data in sort preference, can we get some more data around what user is doing before hitting this issue? and also does this setup have any custom zimlets installed?
danielb
Posts: 35
Joined: Mon Jul 15, 2019 6:08 pm

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by danielb »

I couldn't reproduce it myself either, and the user isn't sure of what was done just before the problem occures (she was on the task tab, that's all I know). This Zimbra install has the Zextra suite installed, and the Jitsi Meet from beezim
saket.patel
Zimbra Employee
Zimbra Employee
Posts: 137
Joined: Mon Apr 11, 2022 8:39 pm

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by saket.patel »

Thanks for the info, as we are not sure about root cause of the issue, we are going ahead and fixing symptom so even if we get faulty data tasks screen will load
https://github.com/Zimbra/zm-web-client/pull/719
Blueberry
Posts: 19
Joined: Thu Jan 25, 2018 12:14 pm

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by Blueberry »

Hi Saket,

8.8.15 patch 33 (latest) is also affected by this bug. Can you make sure the patch makes it to 8.8.15 as well?
Inglebard
Posts: 28
Joined: Fri Jul 20, 2018 9:18 am

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by Inglebard »

Hi,

I encounter the issue on 8.8.15.

@danielb Can you detail the steps you use to fix the issue ?

edit: I modify TasksCore_all.js.zgz with https://github.com/Zimbra/zm-web-client ... 09c07476bd and https://wiki.zimbra.com/wiki/How_to_mod ... _Zimbra%3F
Inglebard
Posts: 28
Joined: Fri Jul 20, 2018 9:18 am

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by Inglebard »

Hi,

The issue is still present in Zimbra 8.8.15 P34.
saket.patel
Zimbra Employee
Zimbra Employee
Posts: 137
Joined: Mon Apr 11, 2022 8:39 pm

Re: [SOLVED] JS error on tasks tab in Zimbra 9 OSE

Post by saket.patel »

Fix has been backported to 8.8.15 Patch 35, let me know if you are facing the same issue in the latest patches.
Post Reply