phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [Bug #592] Bug in addressbook selection in E-mail


From: nobody
Subject: [Phpgroupware-tracker] [Bug #592] Bug in addressbook selection in E-mail compose (with patch)
Date: Tue, 25 Jun 2002 07:13:27 -0400

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

Changes by: Peter Bodnar <address@hidden>
Date: 2002-Jun-25 11:13 (GMT)

------------------ Additional Follow-up Comments ----------------------------
at first:
sorry for bad formatting, I was using TAB for spacing

second:
problem is for showing categories, which is created in addressbook by other 
users. (my own categories are shown o.k.)



=================== BUG #592: FULL BUG SNAPSHOT ===================


Submitted by: mexico                    Project: phpGroupWare                   
Submitted on: 2002-Jun-13 09:03
Category:  email                        Bug Group:  0.9.14 RC3                  
Severity:  5 - Major                    Priority:  High                         
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Platform Version:  None                 
Reproducibility:  Every Time            

Summary:  Bug in addressbook selection in E-mail compose (with patch)

Original Submission:  when composing new massege, and selecting addressbook for 
choose contact,
there is no displaing categories from addressbook in select list.
Problem is in file addressbook.php, lines 31-32.
when creating category object, this is initialized for app E-mail,
after creating, there is changing name to 'addressbook', but
all grants etc. is initialized for app E-mail, whitch prevent to show
categories from addressbook.
Solution: create category object with constructor parameters for addressbook:
$c = CreateObject('phpgwapi.categories','','addressbook');
                                         ^       ^
  don't need select uid for constructor -+       |
 this set appname to addressbook for constructor-+
this set correct grants for object and allow to display all
categories for addressbook in select list

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

-------------------------------------------------------
Date: 2002-Jun-25 11:13             By: mexico
at first:
sorry for bad formatting, I was using TAB for spacing

second:
problem is for showing categories, which is created in addressbook by other 
users. (my own categories are shown o.k.)


File Attachments
****************

-------------------------------------------------------
Date: 2002-Jun-13 09:03  Name: email.diff  Size: 0KB   By: mexico
Patch for correcting addressbook category select in Compose new E-mail
http://savannah.gnu.org/bugs/download.php?group_id=509&bug_id=592&bug_file_id=30


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



reply via email to

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