View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005683 | SOGo | GUI | public | 2023-01-23 19:23 | 2023-01-31 13:45 |
Reporter | Alex Vogt | Assigned To | sebastien | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | [Server] Linux | OS | RHEL/CentOS | OS Version | 7 |
Product Version | 5.8.0 | ||||
Fixed in Version | 5.8.1 | ||||
Summary | 0005683: Large quotas incorrectly displayed | ||||
Description | For a sufficiently large mail quota (15GB for me), "NaN" is displayed in Screenshots are attached. | ||||
Steps To Reproduce | Use an IMAP account with a mailquota of 15GB. | ||||
Tags | No tags attached. | ||||
|
|
Hi can you provide SOGo imap logs (with Sebastien |
|
For the Account with 2GB:
With 20GB:
Is this related to https://github.com/Alinto/sogo/blob/a5347c70aa992b2b2982c3df102fb87683a52ef0/SoObjects/Mailer/SOGoMailAccount.m#L314 ? |
|
I think I found it... data.maxQuota contains the message quota as well (see screenshot) |
|
It is related to the IMAP response format I guess SOGo will try to convert I cannot reproduce this case on my dev env. The question is why your IMAP server output this ? |
|
This is fully within the spec of the quota extension: https://www.rfc-editor.org/rfc/rfc2087#section-5 "The name is followed by a S-expression format list of the resource I am using a default Dovecot installation with both storage and message quotas enabled for this account. From the code you linked I see that you are assuming that there is always exactly one triplet provided. |
|
Thanks for clarification I'll do a fix |
|
Fix : https://github.com/Alinto/sope/commit/c26c6b395ced515645afd347ccc111baefb5cea7 I can't reproduce your case, can you try next nightly build ? |
|
Hi Sebastien, thanks a lot for this hotfix! I can now see my storage quota correctly. The way I understand your patch is that you take whatever the IMAP server presents first (message OR storage quota) and base the web UI on that information. The second criterion is ignore. Is that correct? |
|
Hi Alex, thanks for the feedback ! It will always take storage quota because it searches for a character on the buffer from a position. It will first take the
and this case In this case :
will extract Can I close this issue ? Sebastien |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-23 19:23 | Alex Vogt | New Issue | |
2023-01-23 19:23 | Alex Vogt | File Added: quota_indicator_2GB.png | |
2023-01-23 19:23 | Alex Vogt | File Added: quota_indicator_15GB.png | |
2023-01-23 19:47 | sebastien | Note Added: 0016579 | |
2023-01-23 19:59 | Alex Vogt | Note Added: 0016580 | |
2023-01-23 20:07 | Alex Vogt | Note Added: 0016581 | |
2023-01-23 20:07 | Alex Vogt | File Added: Screenshot from 2023-01-23 21-06-49.png | |
2023-01-24 08:38 | sebastien | Note Edited: 0016580 | |
2023-01-24 08:53 | sebastien | Note Added: 0016586 | |
2023-01-24 09:24 | Alex Vogt | Note Added: 0016587 | |
2023-01-25 18:09 | sebastien | Note Added: 0016600 | |
2023-01-25 18:09 | sebastien | Assigned To | => sebastien |
2023-01-25 18:09 | sebastien | Status | new => assigned |
2023-01-25 18:53 | sebastien | Note Added: 0016601 | |
2023-01-26 19:13 | Alex Vogt | Note Added: 0016611 | |
2023-01-30 08:03 | sebastien | Note Added: 0016622 | |
2023-01-31 13:45 | sebastien | Status | assigned => resolved |
2023-01-31 13:45 | sebastien | Resolution | open => fixed |
2023-01-31 13:45 | sebastien | Fixed in Version | => 5.8.1 |