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: Thu, 26 Jun 2003 22:26:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428

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

Changes by: Chris Weiss <address@hidden>
Date: Thu 06/26/2003 at 21:26 (America/Chicago)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
will be fixed in .16 if not already in .14.003



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


Submitted by: samp                    Project: phpGroupWare                 
Submitted on: Sun 12/22/2002 at 00:20
Category:  email                      Bug Group:  0.9.14.001 release        
Severity:  5 - Major                  Priority:  Normal                     
Resolution:  Later                    Assigned to:  angles                  
Status:  Closed                       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: Thu 06/26/2003 at 21:26       By: cw
will be fixed in .16 if not already in .14.003

-------------------------------------------------------
Date: Sun 12/29/2002 at 21: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: Mon 12/23/2002 at 23: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: Sun 12/22/2002 at 00: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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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