phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #2039] Wrong folder size in mail list


From: nobody
Subject: [Phpgroupware-tracker] [Bug #2039] Wrong folder size in mail list
Date: Sun, 29 Dec 2002 22:52:48 -0500

=================== BUG #2039: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2039&group_id=509

Changes by: Angelo Tony Puglisi <address@hidden>
Date: 2002-Dec-29 22:52 (America/New_York)

------------------ Additional Follow-up Comments ----------------------------
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




=================== BUG #2039: FULL BUG SNAPSHOT ===================


Submitted by: samp                      Project: phpGroupWare                   
Submitted on: 2002-Dec-22 01:20
Category:  email                        Bug Group:  0.9.14.001 release          
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  Later                      Assigned to:  angles                    
Status:  Open                           Component Version:  CVS                 
Platform Version:  Linux - Debian       Reproducibility:  Every Time            

Summary:  Wrong folder size in mail list

Original Submission:  The folder size displayed on the main mail window is 
alway to 1K.

Sam.


Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Dec-29 22:52             By: angles
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


-------------------------------------------------------
Date: 2002-Dec-24 00:42             By: angles
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.


-------------------------------------------------------
Date: 2002-Dec-22 01:38             By: skwashd
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


CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden           | fyi



No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2039&group_id=509



reply via email to

[Prev in Thread] Current Thread [Next in Thread]