Multiple (selected) Calendars in list view show no calendar objects



  • Hi forum,

    if we select 2 or more calendars (personal + shared) the list view doesn’t show any calendar object. But they are there and are displayed correctly in day, week or month view. The entries also appear if you select only one of the calendars in the left hierarchy overview. Seems to me to be a bug, because I would expect all entries together in the list view.

    WebApp: 3.5.0.2047+85.1
    Kopano Core: 8.6.9

    Regards Robert


  • Kopano

    Hi @PRO123

    You’ve run into an old bug: https://jira.kopano.io/browse/KW-637
    Please track the ticket for updates.



  • I’m also experiencing that bug, these are my versions:

    • WebApp: 3.4.5
    • Kopano Core: 8.6.0.0

    I guess is not so difficult to solve it because it shows the complete list for a while (grayed list), just when it is loading (i guess it is refreshing the list querying the server), and once the refresh it is finished every entry disappear.

    I don’t know how to vote for that issue in the jira KW-637 ticket, but that view (viewlist) it is very important for me.

    Greetings,

    Fernando.



  • @fcases said in Multiple (selected) Calendars in list view show no calendar objects:

    KW-637

    I can’t make a comment on the KW-637, but I have done some debugging I would like to share:

    Starting from the list view with 2 calendars checked, if I uncheck 1 of them, the requestData (on the client) sent by XmlHttpRequest is:
    “{
    “zarafa”: {
    “appointmentlistmodule”: {
    “appointmentlistmodule199”: {
    “list”: {
    “entryid”:“000000003e2f5bca52c148c993bfa6dbb48611680100000003000000c3fe61f2056a49caa5a9a4562b39b94700000000”,
    “store_entryid”:“0000000038a1bb1005e5101aa1bb08002b2a56c200007a617261666136636c69656e742e646c6c00000000003e
    2f5bca52c148c993bfa6dbb486116801000000010000005806388be2ba48fbbe311fe355ab132366696c653a2f2
    f2f7661722f72756e2f6b6f70616e6f2f7365727665722e736f636b00”,
    “restriction”:{},
    “sort”: [{“field”:“startdate”,“direction”:“DESC”}],
    “groupDir”:“ASC”
    }
    }
    }
    }
    }”
    … and the server return the list of events on that calendar.So far so good.
    but if I check one more calendar, the requestData is as follows:
    “{
    “zarafa”: {
    “appointmentlistmodule”: {
    “appointmentlistmodule231”: {
    “list”: {
    “entryid”:[
    “000000003e2f5bca52c148c993bfa6dbb48611680100000003000000bd457036a56b459ca9bf570e5fc18fcb00000000”,
    “000000003e2f5bca52c148c993bfa6dbb48611680100000003000000c86f68ff046947e88b68d4d762ecdcd400000000”
    ],
    “store_entryid”: [
    “0000000038a1bb1005e5101aa1bb08002b2a56c200007a617261666136636c69656e742e646c6c00000000003e2f5bca52c148c9
    93bfa6dbb486116801000000010000005806388be2ba48fbbe311fe355ab132366696c653a2f2f2f7661722f72756e2f6b6f70616e
    6f2f7365727665722e736f636b00”,
    “0000000038a1bb1005e5101aa1bb08002b2a56c200007a617261666136636c69656e742e646c6c00000000003e2f5bca52c148c9
    93bfa6dbb486116801000000010000005806388be2ba48fbbe311fe355ab132366696c653a2f2f2f7661722f72756e2f6b6f70616e
    6f2f7365727665722e736f636b00”
    ],
    “restriction”:{},
    “sort”:[{“field”:“startdate”,“direction”:“ASC”}],
    “groupDir”:“ASC”
    }}}}}”
    what it seems to me is a correct requestData, but the server return a null list of events and the php (I’m using php-fpm trhu fastcgi) coplains as follows:
    [04/Feb/2019:09:55:36 +0100] “POST /kopano.php?subsystem=webapp_1549265838016 HTTP/2.0” 200 116
    [Mon Feb 04 09:55:44.853437 2019] [proxy_fcgi:error] [pid 6644:tid 139946494207744] [client X.Y.Z.1:40544]
    AH01071: Got error 'PHP message:
    PHP Warning: mapi_getprops() expects parameter 1 to be resource, array given in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 821
    PHP message: PHP Warning: mapi_msgstore_openentry() expects parameter 1 to be resource, array given in /srv/www/htdocs/kopano-webapp/server/includes/core/class.operations.php on line 1487
    PHP message: PHP Warning: mapi_msgstore_openentry() expects parameter 1 to be resource, array given in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 172
    PHP message: PHP Warning: mapi_getprops() expects parameter 1 to be resource, boolean given in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 176
    PHP message: PHP Notice: Undefined index: item in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 187
    PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 187
    PHP message: PHP Notice: Undefined index: item in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 207
    PHP message: PHP Warning: array_values() expects parameter 1 to be array, null given in /srv/www/htdocs/kopano-webapp/server/includes/modules/class.listmodule.php on line 207
    ', referer: https://Z.Y.X.100/
    I’m not an experienced guy on php neither data model on MAPI, but I hope this might help solving it.


Log in to reply