bugphpGroupWare - Bugs: bug #592, Bug in addressbook selection in...

 
 

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

bug #592: Bug in addressbook selection in E-mail compose (with patch)

Submitted by:  Peter Bodnar <mexico>
Submitted on:  Thu 13 Jun 2002 09:03:17 AM UTC  
 
Item Group: 0.9.14 RC3Category: email
Severity: 3 - NormalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: NoneOperating System: None
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Thu 21 Nov 2002 12:59:21 AM UTC, comment #2:

The version mentioned in the bug report is no longer supported.
It is strongly suggested that the user upgrade to the current
release version for better security and performance.

Alejandro Borges (lex) <alexbsa>
Tue 25 Jun 2002 11:13:27 AM UTC, comment #1:

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.)

Peter Bodnar <mexico>
Thu 13 Jun 2002 09:03:17 AM UTC, 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

Peter Bodnar <mexico>

 

Attached Files
file #30:  email.diff added by mexico (560B - text/x-diff - Patch for correcting addressbook category select in Compose new E-mail)

 

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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Thu 21 Nov 2002 12:59:20 AM UTCalexbsaOpen/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1