bugphpGroupWare - Bugs: bug #2039, Wrong folder size in mail list

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2039: Wrong folder size in mail list

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Sun 22 Dec 2002 06:20:17 AM UTC  
 
Item Group: 0.9.14.001 releaseCategory: email
Severity: 3 - NormalPriority: 5 - Normal
Status: PostponedPrivacy: Public
Assigned to: Angelo Tony Puglisi <angles>Open/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Fri 27 Jun 2003 02:26:18 AM UTC, comment #4:

will be fixed in .16 if not already in .14.003

Chris Weiss <cw>
Project Administrator
Mon 30 Dec 2002 03:52:47 AM UTC, comment #3:

This is fixed in this release anglemail-1.1-pre9-05.tar.bz2 available here:
http://www.anglemail.org/files/anglemail-1.1-pre9-05.tar.bz2

Angelo Tony Puglisi <angles>In charge of this item.
Tue 24 Dec 2002 05:42:55 AM UTC, comment #2:

Folder size, this is the total bytes used in each folder, has been temporarily depreciated, it will reappear on a different page, probably the "folders" page, and will be available on request only.

Background info: folder byte size for UWash folders is the size of the 1 file that UWash uses as a "folder", and folder size for maildir type systems is the total of every indiviaul file in the maildir directory, which is each message in the "folder". Folder size for all the folders in an account is that operation on all folders.

These operations are time consuming and do not belong in per-page stats, i.e. this data needs to be moved off of the message list page.

Technically there are 2 IMAP commands to obtain folder stats (number new, unread, total messages), one does NOT ask for folder size, and the other DOES ask for folder size. The one that does NOT ask for folder size is quicker and anglemail has migrated to this command only. However, folder size is important information that should be available on another page, probably the folders page.

Therefor this is a bug because the incorrect "1k" appears on the message list page, and this is part of the migration of this feature to the folders page.

Angelo Tony Puglisi <angles>In charge of this item.
Sun 22 Dec 2002 06:38:06 AM UTC, comment #1:

Technically this is a bug, but to fix it causes a performance hit. You can turn off "extreme caching" which is a boolean flag. Look in email/inc/class.mail_msg_base.inc.php try line 269:
var $session_cache_extreme = True;
comment out that line

and uncomment the line below it:
//var $session_cache_extreme = False;

This will disable the extreme caching, and give you the folder size. Please be aware this will cause a drop in performance.

I know this has been fixed in the latest release of anglemail, but this requires the use of a db table for caching the email data - and so can't be included in the stable branch of phpgw.

I have left this report open for the time being, but made its status "Later", as afaik its not possible to fix it in stable.

Cheers

Dave Hall <skwashd>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 27 Jun 2003 02:26:18 AM UTCcwOpen/ClosedOpen=>(Error - Not Found)
Sun 22 Dec 2002 06:38:06 AM UTCskwashdStatusNone=>(Error - Not Found)
  Assigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1