-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC5258] LIST return options are ignored #11
Comments
Haven't been able to reproduce this with current cyrus-imapd-2.5, nor with 2.5.8. It might be that there's a detail particular to your setup that's triggering this, which my test case has missed? It might also be a bug in Kolab's modifications. Have you raised this issue with Kolab?
Cassandane test: cyrusimap/cassandane@91096e0 -- though note that this tickles the long-standing "missing child info flag on last returned folder" bug, and thus fails for this unrelated reason on 2.5 without a little extra coercion. But you can see from the session log that the \Subscribed flag is returned where expected, and not where it's not. |
Do you test with murder? Is it possible that's a murder issue? |
I just tested without murder on Cyrus IMAP 2.5.9.11-Kolab-2.5.9-12.2.el7.kolab_wf and still see the issue. I'll create a ticket in Kolab's bugtracker. |
I didn't test with murder (start simple...), but if you've reproduced the bug without murder then I guess that wasn't the missing detail anyway. |
I'm curious if you've had any feedback from Kolab on this? Are you able to link to the ticket in their tracker? |
https://git.kolab.org/T1465, but no feedback yet. |
Can you please paste the output of LSUB for that same user as well... just want to check the obvious really dumb question - are those folders actually subscribed? |
They are subscribed.
Truncated, there was many more folders on the list. And here's my config:
|
Yeah, so 2.5 definitely has a bug with the final item not getting a \HasNoChildren :( I've fixed that in master. But otherwise I agree with Ellie - I can't reproduce against a current latest 2.5, so it really does look like a Kolab bug. I wonder what they changed! |
I added VirtDomains to my test and it doesn't make any difference either. Though I'm not sure I'm testing with a user in a virtual domain... ho hum. Maybe there's something broken with the check in virtdomains specifically? |
Hmm.... I think we're maybe testing against internal namespace in mboxlist_findsub, but that doesn't work with virtdomains and non-admin. Crap. @elliefm - the test needs to have a user with virtdomains turned on to fail to find SUBSCRIBED in that case. I've pushed a test to Cassandane for that - it breaks on 2.5 but passes on master. We're going to have to patch 2.5 for this one. It's not Kolab specific, it's a broken behaviour in upstream 2.5 :( Bron. |
Oh cool, reproducability helps :) @alecpl, I guess you can close that Kolab task, since the problem exists upstream after all |
Observations so far:
At this point I think maybe |
Switching
|
cyrus-imapd-2.5...elliefm:v25/list-specialuse-subscribed seems to fix it, at least for Bron's one test. Need some tests to exercise it with Shared and Other Users namespaces... |
Turns out from testing against shared/other users namespaces that my patch breaks these -- which is why this has stalled out. |
Okay, I think it's fixed properly now: cyrus-imapd-2.5...elliefm:v25/list-specialuse-subscribed (has been rebased) |
This is now on the cyrus-imapd-2.5 branch, and there's tests in cassandane |
Cyrus IMAP Murder 2.5.8.12-Kolab-2.5.8-13.1.el6.kolab_14
\Subscribed attribute is not returned for subscribed folders when requested. E.g.
The text was updated successfully, but these errors were encountered: